No require any ENV_VAR
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
- const baseUrl = Config.EXTERNAL_BASE_URL;
|
||||
- const baseUrl = DefaultConfig.EXTERNAL_BASE_URL;
|
||||
doctype html
|
||||
html
|
||||
head
|
||||
@@ -13,5 +13,5 @@ html
|
||||
require(['src/index'], function (index) {
|
||||
index.setConfig({EXTERNAL_BASE_URL: '#{baseUrl}'});
|
||||
});
|
||||
if !Config.isProduction
|
||||
if !DefaultConfig.isProduction
|
||||
script(type='text/javascript', src=baseUrl+'/auto-reload/client.js')
|
||||
|
||||
Reference in New Issue
Block a user