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