Browse Source

查看

master
wenlele 2 years ago
parent
commit
301facb498
  1. 2
      code/api/.vscode/launch.json
  2. 2
      code/web/package.json

2
code/api/.vscode/launch.json

@ -16,7 +16,7 @@
"-p 4200",
"-f http://localhost:4200",
"-g postgres://postgres:123@10.8.30.32:5432/iot_auth",
"--redisHost 127.0.0.1",
"--redisHost 10.8.30.112",
"--redisPort 6379"
]
},

2
code/web/package.json

@ -7,7 +7,7 @@
"test": "mocha",
"start-vite": "cross-env NODE_ENV=developmentVite npm run start-params",
"start": "cross-env NODE_ENV=development npm run start-params",
"start-params": "node server -p 5200 -u http://10.8.30.24:4200",
"start-params": "node server -p 5200 -u http://localhost:4200",
"deploy": "export NODE_ENV=production&& npm run build && node server",
"build-dev": "cross-env NODE_ENV=development&&webpack --config webpack.config.js",
"build": "export NODE_ENV=production&&webpack --config webpack.config.prod.js"

Loading…
Cancel
Save