| | |
| | | // app.use('/app', proxy('http://192.168.100.109:8008', opts)); |
| | | |
| | | // todo 本机 开发用,生产环境请用nginx带来 |
| | | app.use('/ws', proxy('http://192.168.31.222:8008', opts)); |
| | | app.use('/callComponent', proxy('http://192.168.31.222:8008', opts)); |
| | | app.use('/app', proxy('http://192.168.31.222:8008', opts)); |
| | | // app.use('/ws', proxy('http://192.168.31.222:8008', opts)); |
| | | // app.use('/callComponent', proxy('http://192.168.31.222:8008', opts)); |
| | | // app.use('/app', proxy('http://192.168.31.222:8008', opts)); |
| | | |
| | | // .split(' ')[0] |
| | | |
| | | // todo 本机 开发用,生产环境请用nginx带来 |
| | | // app.use('/ws', proxy('http://47.92.223.85:8008', opts)); |
| | | // app.use('/callComponent', proxy('http://47.92.223.85:8008', opts)); |
| | | // app.use('/app', proxy('http://47.92.223.85:8008', opts)); |
| | | app.use('/ws', proxy('http://47.92.223.85:8008', opts)); |
| | | app.use('/callComponent', proxy('http://47.92.223.85:8008', opts)); |
| | | app.use('/app', proxy('http://47.92.223.85:8008', opts)); |
| | | |
| | | //app.listen(3000); |
| | | app.use(express.json()); |