File tree 1 file changed +3
-7
lines changed
1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 1
- require ( 'dotenv' ) . config ( {
2
- path : './web-app/.env' ,
3
- } )
4
-
5
1
import { getWorkspaceRoot } from './services/workspace'
6
2
import * as os from 'os'
7
3
8
4
// CodeRoad version
9
- export const VERSION : string = process . env . npm_package_version || 'unknown'
5
+ export const VERSION = 'unknown'
10
6
11
7
// Node env
12
8
export type Env = 'test' | 'local' | 'development' | 'production'
13
9
// @ts -ignore
14
10
export const NODE_ENV : Env = process . env . NODE_ENV || 'production'
15
11
16
12
// toggle logging in development
17
- export const LOG : boolean = ( process . env . REACT_APP_LOG || '' ) . toLowerCase ( ) === 'true'
13
+ export const LOG = false
18
14
19
15
// error logging tool
20
- export const SENTRY_DSN : string | null = process . env . SENTRY_DSN || null
16
+ export const SENTRY_DSN : string | null = null
21
17
22
18
// uri path to the users project workspace
23
19
export const WORKSPACE_ROOT : string = getWorkspaceRoot ( )
You can’t perform that action at this time.
0 commit comments