diff --git a/package.json b/package.json index c824e43..9bef791 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "private": true, "scripts": { "serve": "vue-cli-service serve", - "build": "vue-cli-service build", - "test:unit": "vue-cli-service test:unit", + "build": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build", + "test:unit": "vue-cli-service test:unit ", "lint": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service lint", "build:preview": "vue-cli-service build --mode preview", "lint:nofix": "vue-cli-service lint --no-fix" diff --git a/public/config.js b/public/config.js index 1c114d4..3f859b4 100644 --- a/public/config.js +++ b/public/config.js @@ -4,11 +4,11 @@ window.serverConfig = { // 必填: api地址, 换成自己的域名即可 // 例如: https://www.你的域名.com/index.php?s=/admin // BASE_API: 'https://www.saas.njrenzhou.com/index.php?s=/admin', - BASE_API: 'http://www.yzshop.cn/index.php?s=/admin', + BASE_API: 'https://www.amiami.com.cn/index.php?s=/admin', // 必填: store模块的入口地址 // 例如: https://www.你的域名.com/store // STORE_URL: 'https://www.saas.njrenzhou.com/store', - STORE_URL: 'http://www.yzshop.cn/store', + STORE_URL: 'https://www.amiami.com.cn/store', // 图片文件上传大小 (单位mb) uploadImageSize: 2,