mirror of https://github.com/certd/certd
chore:
parent
81fac736f9
commit
0e4b72c65d
|
@ -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
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -37,6 +37,12 @@ const development = {
|
|||
'/': '/index.html',
|
||||
},
|
||||
},
|
||||
// '/index.html': {
|
||||
// maxAge: 0,
|
||||
// },
|
||||
// '/': {
|
||||
// maxAge: 0,
|
||||
// },
|
||||
},
|
||||
},
|
||||
cron: {
|
||||
|
|
|
@ -54,7 +54,11 @@ export class AutoInitSite {
|
|||
}
|
||||
|
||||
// 授权许可
|
||||
await this.plusService.verify();
|
||||
try {
|
||||
await this.plusService.verify();
|
||||
} catch (e) {
|
||||
logger.error('授权许可验证失败', e);
|
||||
}
|
||||
|
||||
logger.info('初始化站点完成');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue