pull/213/head
xiaojunnuo 2024-10-10 17:50:04 +08:00
parent 81fac736f9
commit 0e4b72c65d
5 changed files with 24 additions and 14 deletions

View File

@ -52,7 +52,7 @@ export const certdResources = [
path: "/certd/cname/record", path: "/certd/cname/record",
component: "/certd/cname/record/index.vue", component: "/certd/cname/record/index.vue",
meta: { meta: {
icon: "ion:disc-outline", icon: "ion:link-outline",
auth: true auth: true
} }
}, },

View File

@ -73,7 +73,7 @@ export const sysResources = [
path: "/sys/cname/provider", path: "/sys/cname/provider",
component: "/sys/cname/provider/index.vue", component: "/sys/cname/provider/index.vue",
meta: { meta: {
icon: "ion:settings-outline", icon: "ion:earth-outline",
permission: "sys:settings:view" permission: "sys:settings:view"
} }
}, },

View File

@ -21,19 +21,19 @@ typeorm:
dataSource: dataSource:
default: default:
database: './data/db-comm.sqlite' database: './data/db-comm.sqlite'
#plus:
# server:
# baseUrls: ['https://api.ai.handsfree.work', 'https://api.ai.docmirror.cn']
#
#account:
# server:
# baseUrl: 'https://ai.handsfree.work/subject'
plus: plus:
server: server:
baseUrls: ['http://127.0.0.1:11007'] baseUrls: ['https://api.ai.handsfree.work', 'https://api.ai.docmirror.cn']
account: account:
server: server:
baseUrl: 'http://127.0.0.1:1017/subject' baseUrl: 'https://ai.handsfree.work/subject'
#plus:
# server:
# baseUrls: ['http://127.0.0.1:11007']
#
#account:
# server:
# baseUrl: 'http://127.0.0.1:1017/subject'

View File

@ -37,6 +37,12 @@ const development = {
'/': '/index.html', '/': '/index.html',
}, },
}, },
// '/index.html': {
// maxAge: 0,
// },
// '/': {
// maxAge: 0,
// },
}, },
}, },
cron: { cron: {

View File

@ -54,7 +54,11 @@ export class AutoInitSite {
} }
// 授权许可 // 授权许可
try {
await this.plusService.verify(); await this.plusService.verify();
} catch (e) {
logger.error('授权许可验证失败', e);
}
logger.info('初始化站点完成'); logger.info('初始化站点完成');
} }