diff --git a/fir_client/public/favicon.ico b/fir_client/public/favicon.ico new file mode 100644 index 0000000..80f6a5d Binary files /dev/null and b/fir_client/public/favicon.ico differ 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; }