mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Add sandbox controller
This commit is contained in:
@@ -4,6 +4,7 @@ const options = queryString.parse(location.search);
|
||||
export let queryParamOptions = {
|
||||
embedProvider: null,
|
||||
fullVersion: false,
|
||||
sandboxMode: false,
|
||||
};
|
||||
|
||||
if (options.embed) {
|
||||
@@ -14,3 +15,8 @@ if (options.embed) {
|
||||
if (options.fullVersion && !G_IS_RELEASE) {
|
||||
queryParamOptions.fullVersion = true;
|
||||
}
|
||||
|
||||
// Allow testing full version outside of standalone
|
||||
if (options.sandboxMode && !G_IS_RELEASE) {
|
||||
queryParamOptions.sandboxMode = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user