diff --git a/.DS_Store b/.DS_Store index 9fb968a088237fbc03d67ed54b52fe665cf35bd4..9b8aa002072bea3ef26895532ddf8819dd8c10f4 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/app.js b/app.js index ff5e160b01c84e605f492f1e12510c45dc758450..36772742bfe9a8b2c2b32c8dda4e75fcc0682d64 100644 --- a/app.js +++ b/app.js @@ -40,8 +40,10 @@ let opts = { } // todo 测试环境 测试使用,生产环境请用nginx带来 -app.use('/callComponent', proxy('http://192.168.100.108:8088', opts)); -app.use('/app', proxy('http://192.168.100.108:8088', opts)); +// app.use('/callComponent', proxy('http://192.168.100.108:8088', opts)); +// app.use('/app', proxy('http://192.168.100.108:8088', opts)); +app.use('/callComponent', proxy('http://192.168.1.231:8008', opts)); +app.use('/app', proxy('http://192.168.1.231:8008', opts)); app.use('/ws', createProxyMiddleware({ target: 'http://192.168.100.108:8008', changeOrigin: true, diff --git a/bin/www b/bin/www index b17931fe05da91f09000d9fa81ffb8ddd4551467..29c69ee7addc04501c037504aed6c0dce790b1dc 100644 --- a/bin/www +++ b/bin/www @@ -12,7 +12,7 @@ var http = require('http'); * Get port from environment and store in Express. */ -var port = normalizePort(process.env.PORT || '3000'); +var port = normalizePort(process.env.PORT || '9000'); app.set('port', port); /** diff --git a/public/admin.html b/public/admin.html index c1cc96951b6ecaa7ec3be7898d5d12d19a0c28e2..48082fd2bcfeff1737196309b4b1f9f8c0deb060 100644 --- a/public/admin.html +++ b/public/admin.html @@ -4,7 +4,7 @@
-