From 1b5e5ecf3d9a774d902de6b2c3514e0ed8b3f278 Mon Sep 17 00:00:00 2001 From: GYJ <1157756119@qq.com> Date: Mon, 2 Dec 2024 18:23:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=B7=E6=B1=82=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 6 +++--- npm-shrinkwrap.json | 10 +++++----- src/utils/httpRequest.js | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config/index.js b/config/index.js index 4c70aca..acf56f6 100644 --- a/config/index.js +++ b/config/index.js @@ -14,7 +14,7 @@ module.exports = { // 代理列表, 是否开启代理通过[./dev.env.js]配置 proxyTable: devEnv.OPEN_PROXY === false ? {} : { '/sqx_fast': { - // target: 'http://192.168.0.132:8184/sqx_fast/', + // target: 'http://192.168.0.132:8184/sqx_fast/', // target: 'https://duanjudl.xianmxkj.com/sqx_fast/', target: 'http://127.0.0.1/sqx_fast/', changeOrigin: true, @@ -25,8 +25,8 @@ module.exports = { }, // Various Dev Server settings - host: '0.0.0.0', // can be overwritten by process.env.HOST - port: 8001, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined + host: 'localhost', // can be overwritten by process.env.HOST + port: 8002, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, notifyOnErrors: true, diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 0c1f8c5..4f15537 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -189,7 +189,6 @@ } } }, - "aes-decrypter": { "version": "4.0.1", "resolved": "https://registry.npmmirror.com/aes-decrypter/-/aes-decrypter-4.0.1.tgz", @@ -2551,6 +2550,7 @@ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", "dev": true, + "optional": true, "requires": { "is-extglob": "^2.1.1" } @@ -2566,7 +2566,8 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true + "dev": true, + "optional": true }, "to-regex-range": { "version": "5.0.1", @@ -2586,7 +2587,6 @@ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", "dev": true }, - "ci-info": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz", @@ -8871,7 +8871,6 @@ "verror": "1.10.0" } }, - "keycode": { "version": "2.2.0", "resolved": "https://registry.npmmirror.com/keycode/-/keycode-2.2.0.tgz", @@ -14253,7 +14252,8 @@ "version": "2.2.2", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", - "dev": true + "dev": true, + "optional": true }, "pify": { "version": "3.0.0", diff --git a/src/utils/httpRequest.js b/src/utils/httpRequest.js index e2154cb..b8ea180 100644 --- a/src/utils/httpRequest.js +++ b/src/utils/httpRequest.js @@ -45,7 +45,7 @@ http.adornUrl = (actionName) => { // return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName // return 'http://192.168.0.132:8184/sqx_fast/' + actionName // return 'https://duanjudl.xianmxkj.co/sqx_fast/' + actionName - return '/sqx_fast/' + actionName + return 'https://video.hnsiyao.cn/sqx_fast/' + actionName } http.adornUrlUp = (actionName) => { @@ -53,7 +53,7 @@ http.adornUrlUp = (actionName) => { // return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName // return 'http://192.168.0.132:8183/sqx_fast/' + actionName // return 'https://duanjudl.xianmxkj.co/sqx_fast/' + actionName - return '/sqx_fast/' + actionName + return 'https://video.hnsiyao.cn/sqx_fast/' + actionName } /**