1
0
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:
tobspr
2020-05-13 10:41:00 +02:00
parent 862c69eade
commit 6429f67c7b
7 changed files with 44 additions and 4 deletions

View File

@@ -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;
}