mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Add beta mode and hud toggle
This commit is contained in:
@@ -3,8 +3,13 @@ const options = queryString.parse(location.search);
|
||||
|
||||
export let queryParamOptions = {
|
||||
embedProvider: null,
|
||||
betaMode: null,
|
||||
};
|
||||
|
||||
if (options.embed) {
|
||||
queryParamOptions.embedProvider = options.embed;
|
||||
}
|
||||
|
||||
if (!G_IS_RELEASE && options.betamode) {
|
||||
queryParamOptions.betaMode = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user