mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-10 03:51:25 +00:00
allow studio on all hostnames
This commit is contained in:
1 parent
1dd2b93f59
commit
7b98afbac2
1 file changed
+10
-9
@@ -7,13 +7,14 @@ export function StudioRolloutHostnameAllowed() : boolean {
|
||||
}
|
||||
|
||||
function StudioRolloutHostnameCheck() : boolean {
|
||||
// Do not allow "production" or "staging" domains to use studio yet.
|
||||
// Other domains (local development and feature branches) are allowed.
|
||||
switch (window.location.hostname) {
|
||||
case 'fakeyou.com':
|
||||
case 'storyteller.ai':
|
||||
return false;
|
||||
default:
|
||||
return true;
|
||||
}
|
||||
//// Do not allow "production" or "staging" domains to use studio yet.
|
||||
//// Other domains (local development and feature branches) are allowed.
|
||||
//switch (window.location.hostname) {
|
||||
// case 'fakeyou.com':
|
||||
// case 'storyteller.ai':
|
||||
// return false;
|
||||
// default:
|
||||
// return true;
|
||||
//}
|
||||
return true;
|
||||
}
|
||||
Reference in new issue
Block a user