From 2381751a466a5c278e4fae5ca631142dfac8a923 Mon Sep 17 00:00:00 2001 From: wanghousheng Date: Fri, 19 Jan 2024 15:55:05 +0800 Subject: [PATCH] 1 --- package.json | 4 ++-- public/config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 9a51858..0f3c88d 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "version": "3.0.0", "private": true, "scripts": { - "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve", - "build": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build", + "serve": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve", + "build": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build", "test:unit": "vue-cli-service test:unit", "lint": "vue-cli-service lint", "build:preview": "vue-cli-service build --mode preview", diff --git a/public/config.js b/public/config.js index 9e9c29c..37f3446 100644 --- a/public/config.js +++ b/public/config.js @@ -5,7 +5,7 @@ window.publicConfig = { // 必填: api地址, 换成自己的域名即可 // 例如: https://www.你的域名.com/index.php?s=/store // BASE_API: '../index.php?s=/store', - BASE_API: 'https://www.saas.njrenzhou.com/index.php?s=/store', + BASE_API: 'http://www.yzshop.cn/index.php?s=/store', // 图片文件上传大小 (单位mb) uploadImageSize: 2,