allow studio on all hostnames

This commit is contained in:
Brandon Thomas committed 2024-04-15 12:15:58 -04:00
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;
}