mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 12:25:22 +00:00
9 lines
246 B
TypeScript
9 lines
246 B
TypeScript
|
|
|
||
|
|
const getEnv = (env: string | undefined, defaultValue = '') => {
|
||
|
|
return env ?? defaultValue;
|
||
|
|
}
|
||
|
|
|
||
|
|
export const ZOEKT_WEBSERVER_URL = getEnv(process.env.ZOEKT_WEBSERVER_URL, "http://localhost:6070");
|
||
|
|
|
||
|
|
export const NODE_ENV = process.env.NODE_ENV;
|