优化代码

dependabot/npm_and_yarn/fir_admin/ws-5.2.3
youngS 3 years ago
parent cdf778d3f3
commit 1bd0f08a4b
  1. BIN
      fir_client/public/favicon.ico
  2. 4
      fir_client/src/components/FirFooter.vue
  3. 2
      fir_client/src/restful/download.js
  4. 9
      fir_client/vue.config.js
  5. 2
      fir_ser/nginx-vhost.conf

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

@ -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号',
},
}
}

@ -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;

@ -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
});

@ -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;
}

Loading…
Cancel
Save