Skip to content

Commit 533b031

Browse files
committed
ignore config/index.js
1 parent d9c4c92 commit 533b031

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ yarn-error.log*
120120
/test/unit/coverage
121121
/test/e2e/reports
122122
selenium-debug.log
123+
ui/src/config/index.js
123124

124125
# Editor directories and files
125126
.idea

ui/src/config/index.js.example

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export const USE_HTTPS = process.env.NODE_ENV === 'production'
2+
export const BACKEND_API_HOST = '127.0.0.1'
3+
export const BACKEND_API_PORT = 8000
4+
export const BACKEND_API_ADDRESS = (USE_HTTPS ? 'https://' : 'http://') + BACKEND_API_HOST + (USE_HTTPS ? '' : ':' + BACKEND_API_PORT)

0 commit comments

Comments
 (0)