Skip to content

Commit

Permalink
chore: add external domain url
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-user committed May 7, 2024
1 parent 8fc358e commit f728474
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
export const FUEL_GREEN = '#00f58c';

export const LOCAL_SERVER_URI = 'http://0.0.0.0:8080';
export const SERVER_URI = process.env.REACT_APP_LOCAL_SERVER
export const IS_LOCAL = !!process.env.REACT_APP_LOCAL_SERVER;
export const SERVER_URI = IS_LOCAL
? LOCAL_SERVER_URI
: 'https://api.sway-playground.org';
export const APPROVED_EXTERNAL_DOMAIN = IS_LOCAL
? 'http://localhost:3000' // Local domain of docs hub
: 'https://docs-hub.vercel.app';

0 comments on commit f728474

Please sign in to comment.