Skip to content

Commit bab7430

Browse files
authored
fix(ishosted): make ishosted true on staging (#993)
* Add staging to ishosted * www
1 parent 16aaa37 commit bab7430

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/sim/lib/environment.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ export const isTest = env.NODE_ENV === 'test'
2121
/**
2222
* Is this the hosted version of the application
2323
*/
24-
export const isHosted = env.NEXT_PUBLIC_APP_URL === 'https://www.sim.ai'
24+
export const isHosted =
25+
env.NEXT_PUBLIC_APP_URL === 'https://www.sim.ai' ||
26+
env.NEXT_PUBLIC_APP_URL === 'https://www.staging.sim.ai'
2527

2628
/**
2729
* Is billing enforcement enabled

0 commit comments

Comments
 (0)