Commit bc2ff649 authored by wty's avatar wty

上线test4

parent 538afb6b
...@@ -26,7 +26,7 @@ if (config === 'local'){ ...@@ -26,7 +26,7 @@ if (config === 'local'){
server.listen(3000) server.listen(3000)
global.domain = 'http://127.0.0.1:3000' global.domain = 'http://127.0.0.1:3000'
}else { }else {
global.domain = 'http://' + os.networkInterfaces()['eth0'][0]['address'] global.domain = `http://dui123.dui88${config.env === 'prod' ? '' : config.env}.com`
const dockerApp = new DockerApp({ const dockerApp = new DockerApp({
app, app,
appType: 'express', appType: 'express',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment