File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 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';
3131const ADMIN_API_USE_SSL = process . env . ADMIN_API_USE_SSL || 'http' ;
3232
3333// 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 ' ;
3535
3636// If this is unset, API calls will default to the same host used to serve this app
3737const ADMIN_API = ADMIN_API_URL ? `//${ ADMIN_API_URL } ` : '' ;
3838
3939// Webpage for local development
40- const LOCAL_DEV_HOST = `localhost. ${ ADMIN_API_URL } ` ;
40+ const LOCAL_DEV_HOST = process . env . LOCAL_DEV_HOST || 'localhost' ;
4141
4242/**
4343 * @depricated use BASE_HREF
You can’t perform that action at this time.
0 commit comments