mirror of
https://github.com/certd/certd.git
synced 2026-05-15 12:37:30 +08:00
feat: 站点个性化设置
This commit is contained in:
@@ -16,6 +16,7 @@ import { ResetPasswdMiddleware } from './middleware/reset-passwd/middleware.js';
|
||||
import DefaultConfig from './config/config.default.js';
|
||||
import * as libServer from '@certd/lib-server';
|
||||
import * as commercial from '@certd/commercial-core';
|
||||
import * as upload from '@midwayjs/upload';
|
||||
process.on('uncaughtException', error => {
|
||||
console.error('未捕获的异常:', error);
|
||||
// 在这里可以添加日志记录、发送错误通知等操作
|
||||
@@ -30,12 +31,13 @@ process.on('uncaughtException', error => {
|
||||
cron,
|
||||
staticFile,
|
||||
validate,
|
||||
upload,
|
||||
libServer,
|
||||
commercial,
|
||||
{
|
||||
component: info,
|
||||
enabledEnvironment: ['local'],
|
||||
},
|
||||
libServer,
|
||||
commercial,
|
||||
],
|
||||
importConfigs: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user