add VUE_APP_REMOTE_CONFIG suppoort

This commit is contained in:
Stille 2023-03-27 23:42:00 +08:00
parent 4de2d181ef
commit 16ddc79ec3
2 changed files with 2 additions and 1 deletions

1
.env
View File

@ -1,3 +1,4 @@
VUE_APP_SITE_NAME = 'subweb'
VUE_APP_API_URL = 'https://sub.ops.ci'
VUE_APP_SHORT_URL = 'https://s.ops.ci'
VUE_APP_REMOTE_CONFIG = ''

View File

@ -160,7 +160,7 @@ export default {
DEFAULT_MORECONFIG: {
include: '',
exclude: '',
remoteconfig: '',
remoteconfig: process.env.VUE_APP_REMOTE_CONFIG || '',
emoji: true,
udp: true,
sort: false,