李志伟 3 年之前
父節點
當前提交
a3fe9d3f14
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1
    1
      .env.production
  2. 1
    0
      package.json

+ 1
- 1
.env.production 查看文件

2
 ENV = 'production'
2
 ENV = 'production'
3
 
3
 
4
 # base api
4
 # base api
5
-VUE_APP_BASE_API = '/prod-api'
5
+VUE_APP_BASE_API = 'https://hhdlots.njyunzhi.com'
6
 
6
 

+ 1
- 0
package.json 查看文件

5
   "author": "Pan <panfree23@gmail.com>",
5
   "author": "Pan <panfree23@gmail.com>",
6
   "scripts": {
6
   "scripts": {
7
     "dev": "vue-cli-service serve",
7
     "dev": "vue-cli-service serve",
8
+    "prod": "vue-cli-service serve --mode production",
8
     "build:prod": "vue-cli-service build",
9
     "build:prod": "vue-cli-service build",
9
     "build:stage": "vue-cli-service build --mode staging",
10
     "build:stage": "vue-cli-service build --mode staging",
10
     "preview": "node build/index.js --preview",
11
     "preview": "node build/index.js --preview",