Skip to content

Commit

Permalink
Remove polluted env variables from vue
Browse files Browse the repository at this point in the history
  • Loading branch information
jolzee committed Apr 18, 2020
1 parent 338b327 commit 971ca1c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utils/leopardConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ export default {
hideArtificalSolutionsBranding: getEnvValue("VUE_APP_HIDE_AS_BRANDING", false),
loadFreshConfigForNewSessions: getEnvValue("VUE_APP_LOAD_FRESH_CONFIG_FOR_NEW_SESSIONS", false),
mustGetStaticDefaultConfig: getEnvValue("VUE_APP_GET_STATIC_DEFAULT_CONFIG", false),
requestParams: getEnvValue("VUE_APP_REQUEST_PARAMS", ""),
requestParams:
getEnvValue("VUE_APP_REQUEST_PARAMS").indexOf("CURL") !== -1
? ""
: getEnvValue("VUE_APP_REQUEST_PARAMS"),
liveChat: {
licenseKey: getEnvValue("VUE_APP_LIVE_CHAT_INC_KEY"),
agentAssistServerUrl: getEnvValue("VUE_APP_LIVE_CHAT_AGENT_ASSIST_SERVER")
Expand Down

0 comments on commit 971ca1c

Please sign in to comment.