Commit c0669c12 authored by van.chen's avatar van.chen

配置测试环境和正式环境

parent c173b272
......@@ -6,8 +6,8 @@
"scripts": {
"ng": "ng",
"start": "npm run color-less && ng serve -o",
"hmr": "npm run color-less && ng serve -c=hmr",
"build": "npm run color-less && ng build --prod --build-optimizer --c=production",
"hmr": "npm run color-less && ng build --prod --build-optimizer --aot -c=hmr",
"build": "npm run color-less && ng build --prod --build-optimizer --aot -c=production",
"analyze": "ng build --prod --build-optimizer --stats-json",
"lint": "npm run lint:ts && npm run lint:style",
"lint:ts": "tslint -p src/tsconfig.app.json -c tslint.json 'src/**/*.ts'",
......
......@@ -7,6 +7,7 @@ export const environment = {
production: false,
useHash: true,
hmr: true,
baseUrl: 'http://192.168.1.13:8092'
};
/*
......
......@@ -3,5 +3,5 @@ export const environment = {
production: true,
useHash: true,
hmr: false,
baseUrl: 'http://192.168.1.13:8092'
baseUrl: 'http://tower.witium.com/api/'
};
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