diff options
author | Nick Coutsos <[email protected]> | 2022-05-06 22:14:41 -0400 |
---|---|---|
committer | Nick Coutsos <[email protected]> | 2022-05-06 22:14:41 -0400 |
commit | c2655c1fa66105821398efc4684d048e02e0abd9 (patch) | |
tree | 7feb1aa4e885dd0f4ce84879698fc8a17cec7a82 | |
parent | 0590fdcc4c1db67e8dda7fbdd781176b63163933 (diff) | |
download | keymap-editor-c2655c1fa66105821398efc4684d048e02e0abd9.tar.gz keymap-editor-c2655c1fa66105821398efc4684d048e02e0abd9.zip |
Fix environment variable prefixes
-rw-r--r-- | api/routes/application.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/api/routes/application.js b/api/routes/application.js index 7a786a8..82d852a 100644 --- a/api/routes/application.js +++ b/api/routes/application.js @@ -11,11 +11,11 @@ function init (app) { const opts = { cwd: appDir, env: Object.assign({}, process.env, { - ENABLE_LOCAL: true, - ENABLE_GITHUB: config.ENABLE_GITHUB, - GITHUB_APP_NAME: config.GITHUB_APP_NAME, - API_BASE_URL, - APP_BASE_URL + REACT_APP_ENABLE_LOCAL: true, + REACT_APP_ENABLE_GITHUB: config.ENABLE_GITHUB, + REACT_APP_GITHUB_APP_NAME: config.GITHUB_APP_NAME, + REACT_APP_API_BASE_URL: API_BASE_URL, + REACT_APP_APP_BASE_URL: APP_BASE_URL }) } |