Commit 3920ce8 1 parent eb7fe2b commit 3920ce8 Copy full SHA for 3920ce8
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 @@ -31,13 +31,13 @@ const CERTIFICATE_PATH = '../../scripts/certificate';
31
31
const ADMIN_API_USE_SSL = process . env . ADMIN_API_USE_SSL || 'http' ;
32
32
33
33
// Admin domain used as base for window URL and API urls
34
- const ADMIN_API_URL = process . env . ADMIN_API_URL ?. replace ( / h t t p s ? : \/ \/ / , '' ) || '' ;
34
+ const ADMIN_API_URL = process . env . ADMIN_API_URL ?. replace ( / h t t p s ? : \/ \/ / , '' ) || 'localhost:30080 ' ;
35
35
36
36
// If this is unset, API calls will default to the same host used to serve this app
37
37
const ADMIN_API = ADMIN_API_URL ? `//${ ADMIN_API_URL } ` : '' ;
38
38
39
39
// Webpage for local development
40
- const LOCAL_DEV_HOST = `localhost. ${ ADMIN_API_URL } ` ;
40
+ const LOCAL_DEV_HOST = process . env . LOCAL_DEV_HOST || 'localhost' ;
41
41
42
42
/**
43
43
* @depricated use BASE_HREF
You can’t perform that action at this time.
0 commit comments