slate/common/environment.js

15 lines
663 B
JavaScript
Raw Normal View History

export const NODE_ENV = process.env.NEXT_PUBLIC_NODE_ENV || "development";
2021-08-09 18:03:52 +03:00
2021-07-27 15:01:44 +03:00
//NOTE(amine): feature flags
2021-08-09 18:03:52 +03:00
export const ACTIVITY_FEATURE_FLAG = NODE_ENV === "development" || NODE_ENV === "staging";
// NOTE(jim): External servers
export const URI_SHOVEL = process.env.NEXT_PUBLIC_URI_SHOVEL;
export const URI_FIJI = process.env.NEXT_PUBLIC_URI_FIJI;
export const URI_LENS = process.env.NEXT_PUBLIC_URI_LENS;
2021-08-25 16:44:37 +03:00
//NOTE(amine): Extensions links
export const EXTENSION_CHROME = process.env.NEXT_PUBLIC_EXTENSION_CHROME;
export const EXTENSION_FIREFOX = process.env.NEXT_PUBLIC_EXTENSION_FIREFOX;
export const EXTENSION_SAFARI = process.env.NEXT_PUBLIC_EXTENSION_SAFARI;