Change the port.

This commit is contained in:
lishuang
2020-06-05 23:45:01 +08:00
parent 7332a1807d
commit ddbc94e854
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ module.exports = function (app) {
app.use(proxy(
'/api',
{
target: 'http://localhost:6020',
target: 'http://localhost:6010',
changeOrigin: true,
pathRewrite: {
'^/api': '/api'
+1 -1
View File
@@ -41,7 +41,7 @@ if (!checkRequiredFiles([paths.appHtml, paths.appIndexJs])) {
}
// Tools like Cloud9 rely on this.
const DEFAULT_PORT = parseInt(process.env.PORT, 10) || 3000;
const DEFAULT_PORT = parseInt(process.env.PORT, 10) || 6015;
const HOST = process.env.HOST || '0.0.0.0';
if (process.env.HOST) {