From 6ab97c0f67fc4945126678577566e05e3911fc22 Mon Sep 17 00:00:00 2001 From: wanghousheng Date: Mon, 15 Jul 2024 22:22:23 +0800 Subject: [PATCH] 1 --- package.json | 4 ++-- public/config.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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,