File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 126
126
import { APP_CONFIG_INITIALIZED , CONFIG_CHANGED } from './constants' ;
127
127
128
128
import { publish , subscribe } from './pubSub' ;
129
- import { ensureDefinedConfig } from './utils' ;
129
+ import { ensureDefinedConfig , getPath } from './utils' ;
130
130
131
131
function extractRegex ( envVar ) {
132
132
// Convert the environment variable string to a regex, while guarding
@@ -143,7 +143,7 @@ let config = {
143
143
ACCOUNT_PROFILE_URL : process . env . ACCOUNT_PROFILE_URL ,
144
144
ACCOUNT_SETTINGS_URL : process . env . ACCOUNT_SETTINGS_URL ,
145
145
BASE_URL : process . env . BASE_URL ,
146
- PUBLIC_PATH : process . env . PUBLIC_PATH || '/' ,
146
+ PUBLIC_PATH : getPath ( process . env . PUBLIC_PATH ) || '/' ,
147
147
CREDENTIALS_BASE_URL : process . env . CREDENTIALS_BASE_URL ,
148
148
CSRF_TOKEN_API_PATH : process . env . CSRF_TOKEN_API_PATH ,
149
149
DISCOVERY_API_BASE_URL : process . env . DISCOVERY_API_BASE_URL ,
You can’t perform that action at this time.
0 commit comments