mirror of
https://github.com/certd/certd.git
synced 2026-07-15 18:27:33 +08:00
feat: 升级midway,支持esm
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Provide } from '@midwayjs/decorator';
|
||||
import { Provide } from '@midwayjs/core';
|
||||
import { IWebMiddleware, IMidwayKoaContext, NextFunction } from '@midwayjs/koa';
|
||||
import { logger } from '../utils/logger';
|
||||
import { Result } from '../basic/result';
|
||||
import { logger } from '../utils/logger.js';
|
||||
import { Result } from '../basic/result.js';
|
||||
|
||||
@Provide()
|
||||
export class GlobalExceptionMiddleware implements IWebMiddleware {
|
||||
|
||||
Reference in New Issue
Block a user