We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9c4c92 commit 533b031Copy full SHA for 533b031
.gitignore
@@ -120,6 +120,7 @@ yarn-error.log*
120
/test/unit/coverage
121
/test/e2e/reports
122
selenium-debug.log
123
+ui/src/config/index.js
124
125
# Editor directories and files
126
.idea
ui/src/config/index.js.example
@@ -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