Skip to content

Commit

Permalink
fix: Inject template contains unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
amattu2 committed Apr 1, 2024
1 parent 5fb363a commit 5bed033
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
19 changes: 0 additions & 19 deletions conf/inject.template.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,11 @@
/* eslint-disable */
window.injectedEnv = {
NIH_CLIENT_ID: '${NIH_CLIENT_ID}',
NIH_AUTHORIZE_URL: '${NIH_AUTHORIZE_URL}',
NIH_REDIRECT_URL: '${NIH_REDIRECT_URL}',
REACT_APP_BACKEND_GETUSERINFO_API: '${REACT_APP_BACKEND_GETUSERINFO_API}',
REACT_APP_LOGIN_URL: '${REACT_APP_LOGIN_URL}',
REACT_APP_USER_LOGOUT_URL: '${REACT_APP_USER_LOGOUT_URL}',
REACT_APP_BACKEND_API: '${REACT_APP_BACKEND_API}',
REACT_APP_BE_VERSION: '${REACT_APP_BE_VERSION}',
REACT_APP_FE_VERSION: '${REACT_APP_FE_VERSION}',
REACT_APP_APPLICATION_VERSION: '${REACT_APP_APPLICATION_VERSION}',
REACT_APP_GA_TRACKING_ID: '${REACT_APP_GA_TRACKING_ID}',
REACT_APP_FILE_SERVICE_API: '${REACT_APP_FILE_SERVICE_API}',
REACT_APP_AUTH_API: '${REACT_APP_AUTH_API}',
REACT_APP_GOOGLE_CLIENT_ID: '${REACT_APP_GOOGLE_CLIENT_ID}',
REACT_APP_AUTH_SERVICE_API: '${REACT_APP_AUTH_SERVICE_API}',
REACT_APP_USER_SERVICE_API: '${REACT_APP_USER_SERVICE_API}',
REACT_APP_NIH_CLIENT_ID: '${REACT_APP_NIH_CLIENT_ID}',
REACT_APP_NIH_AUTH_URL: '${REACT_APP_NIH_AUTH_URL}',
REACT_APP_NIH_AUTHORIZE_URL: '${NIH_AUTHORIZE_URL}',
REACT_APP_NIH_REDIRECT_URL: '${REACT_APP_NIH_REDIRECT_URL}',
REACT_APP_BACKEND_PUBLIC_API: '${REACT_APP_BACKEND_PUBLIC_API}',
REACT_APP_AUTH: '${REACT_APP_AUTH}',
REACT_APP_DEV_TIER: '${DEV_TIER}',
REACT_APP_UPLOADER_CLI: '${REACT_APP_UPLOADER_CLI}',
PUBLIC_ACCESS: '${PUBLIC_ACCESS}',
NODE_LEVEL_ACCESS:'${NODE_LEVEL_ACCESS}',
NODE_LABEL: '${NODE_LABEL}'
};
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
},
"include": [
"src",
"conf",
".eslintrc.cjs",
"types/*.d.ts",
"public"
Expand Down

0 comments on commit 5bed033

Please sign in to comment.