File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/editor/src/config Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export function validateHostDomain() {
26
26
}
27
27
28
28
if ( ENVIRONMENT === "STAGING" ) {
29
- return hostname . match ( / ^ t y p e c e l l - [ A - z 0 - 9 - ] + - t y p e c e l l .v e r c e l .a p p $ / ) ;
29
+ return hostname . match ( / ^ t y p e c e l l - [ A - z 0 - 9 - ] + - t y p e c e l l .v e r c e l .a p p $ / ) || hostname === "staging.typecell.org" ;
30
30
}
31
31
return (
32
32
hostname === "notebooks.typecell.org" || hostname === "www.typecell.org"
@@ -50,7 +50,7 @@ export function validateFrameDomain() {
50
50
}
51
51
52
52
if ( ENVIRONMENT === "STAGING" ) {
53
- return hostname . match ( / ^ t y p e c e l l - [ A - z 0 - 9 - ] + - t y p e c e l l .v e r c e l .a p p $ / ) ;
53
+ return hostname . match ( / ^ t y p e c e l l - [ A - z 0 - 9 - ] + - t y p e c e l l .v e r c e l .a p p $ / ) || hostname === "staging.typecell.org" ;
54
54
}
55
55
return hostname . match ( / ^ .* \. t y p e s c r i p t r e p l \. c o m $ / ) ;
56
56
}
You can’t perform that action at this time.
0 commit comments