瀏覽代碼

修改 部署脚本

test
chenJinxu 1 年之前
父節點
當前提交
ce596e08ad
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. +1
    -1
      setup_test.sh
  2. +2
    -2
      src/config/env.production.js

+ 1
- 1
setup_test.sh 查看文件

@@ -10,7 +10,7 @@
npm -v
npm config set registry https://registry.npm.taobao.org
npm install
npm run build-test
npm run build
image_version=$version;
# 删除镜像
docker rmi -f $(


+ 2
- 2
src/config/env.production.js 查看文件

@@ -1,8 +1,8 @@
// 正式
module.exports = {
title: '健康同学',
baseUrl: 'https://ai.ssjlai.com/webapi', // 正式项目地址
baseApi: 'https://ai.ssjlai.com/webapi', // 正式api请求地址
baseUrl: 'https://id.ssjlai.com/webapi', // 正式项目地址
baseApi: 'https://id.ssjlai.com/webapi', // 正式api请求地址
APPID: 'xxx',
APPSECRET: 'xxx',
$cdn: 'https://www.sunniejs.cn/static'


Loading…
取消
儲存