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",
component: "/certd/cname/record/index.vue",
meta: {
icon: "ion:disc-outline",
icon: "ion:link-outline",
auth: true
}
},

View File

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

View File

@ -21,19 +21,19 @@ typeorm:
dataSource:
default:
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:
server:
baseUrls: ['http://127.0.0.1:11007']
baseUrls: ['https://api.ai.handsfree.work', 'https://api.ai.docmirror.cn']
account:
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': {
// maxAge: 0,
// },
// '/': {
// maxAge: 0,
// },
},
},
cron: {

View File

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