From 1bd0f08a4b00c67c62520c3e0843c5852c47d60f Mon Sep 17 00:00:00 2001 From: youngS Date: Fri, 16 Jul 2021 18:05:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_client/public/favicon.ico | Bin 0 -> 1701 bytes fir_client/src/components/FirFooter.vue | 4 ++-- fir_client/src/restful/download.js | 2 +- fir_client/vue.config.js | 9 +++++---- fir_ser/nginx-vhost.conf | 2 +- 5 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 fir_client/public/favicon.ico diff --git a/fir_client/public/favicon.ico b/fir_client/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..80f6a5de4da6accf5e6c698f0519dc57aaf80457 GIT binary patch literal 1701 zcma)-`#%$kAI9f&Qus>8<@j2;gmH+v=wZz>^mo1k+RpssjK3O+Q~R z_@*N_h25^Yd6z~md@odpaF_>x$>05HGyI5y20{S<7FA>I%+}4UmgIYq2mtJO_FXD{ z1O^rWP<8S1f+EtwW#wVHyO96w!*Ik$hPHWoLlMEcl!@Oj?ad8lmpEIIpm!^^+86=R z7N4vsPbq27s!jCjO?v8Dtm%zUwwq4Lsv0gW4+*Ui`nCIz5(|enDPgV~gC&JhE|ydn zsK8r%TFP<9&XD*ki!=vunf(lQn3)b6M=83WG-8k!`c^^xGuiKYeyzWRgP^C|g(CG@ zoZ&Ws&ai?#7kzHSwWJ+tJP=3648AT_tyr&}8xyZqEQU>-P!_p`*q#^G_g7o9&nV9v zA#b$q-8WL#IHg{9M_80ET+i)|^_sresR!EvD?()Z95@E+B^amP{MZ!3bCf`_6TLt}JK|jZpBA^|v^t zNeTKPOQ7n{CW*5rI~6MFP#D%>sC4x3D9EOt`2LXu$V_{?1V+>I4-$0`yCg&3G#RVj ziUq9yRPev6{7#*!SYiZR5Gi_hBi=1FW!_AG)-(ro#)5d9Ua+gHVdL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?Oe~| zYOv5>@8BcXomCol$ K literal 0 HcmV?d00001 diff --git a/fir_client/src/components/FirFooter.vue b/fir_client/src/components/FirFooter.vue index 78c9c47..dad3c51 100644 --- a/fir_client/src/components/FirFooter.vue +++ b/fir_client/src/components/FirFooter.vue @@ -37,11 +37,11 @@ copyright: 'Copyright © 2017-2021 东城飞阳 版权所有.', ipcBeiAn: { url: 'https://beian.miit.gov.cn', - text: '豫ICP备15004336号-3', + text: '粤ICP备2021097895号', }, gongAnBeiAn: { url: 'http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=41142202000049', - text: '豫公网安备 41142202000049号', + text: '粤公网安备 41142202000049号', }, } } diff --git a/fir_client/src/restful/download.js b/fir_client/src/restful/download.js index 0c47e7d..8278a42 100644 --- a/fir_client/src/restful/download.js +++ b/fir_client/src/restful/download.js @@ -2,7 +2,7 @@ import Axios from 'axios' Axios.defaults.withCredentials = true; -const DOMAIN = process.env.base_env.baseUrl; +const DOMAIN = process.env.base_env.baseShortUrl; const APIPATH = '/api/v1/fir/server'; let USERSEVER = DOMAIN + APIPATH; diff --git a/fir_client/vue.config.js b/fir_client/vue.config.js index 0e38272..84930a1 100644 --- a/fir_client/vue.config.js +++ b/fir_client/vue.config.js @@ -83,9 +83,10 @@ if (page) { } const pro_base_env = { - baseUrl: 'https://ali.cdn.flyapp.dvcloud.xin', - short_static: 'https://static.dvstorage.cn/', - index_static: 'https://static.dvcloud.xin/', + baseUrl: 'https://flyapps.cn', + index_static: 'https://static.flyapps.cn/index/', + baseShortUrl: 'https://flyapps.top', + short_static: 'https://static.flyapps.top/short/', }; const dev_base_env = { @@ -135,7 +136,7 @@ module.exports = { config .plugin('define') .tap(args => { - args[0]['process.env']['base_env'] = JSON.stringify({baseUrl: base_evn.baseUrl}); + args[0]['process.env']['base_env'] = JSON.stringify({baseUrl: base_evn.baseUrl,baseShortUrl:base_evn.baseShortUrl}); return args }); diff --git a/fir_ser/nginx-vhost.conf b/fir_ser/nginx-vhost.conf index a1c03cd..38b7bea 100644 --- a/fir_ser/nginx-vhost.conf +++ b/fir_ser/nginx-vhost.conf @@ -52,7 +52,7 @@ server uwsgi_param UWSGI_SCRIPT wsgi; } - location ~ ^/(index|apps|user|login|register|supersign) { + location ~ ^/(index|apps|user|login|register|supersign|home) { try_files $uri $uri/ /index.html; }