🐞 fix(web-server): 修改proxy解决mid-web内存泄漏

This commit is contained in:
liangtongchuan
2023-05-25 15:47:42 +08:00
committed by luying
parent d06acfecee
commit ef7ae551ad
3 changed files with 54 additions and 0 deletions
+2
View File
@@ -3,6 +3,7 @@
import 'egg';
import ExportCheckMainten from '../../../app/middleware/checkMainten';
import ExportEggProxy from '../../../app/middleware/egg-proxy';
import ExportGetIp from '../../../app/middleware/getIp';
import ExportGmTokenParser from '../../../app/middleware/gmTokenParser';
import ExportParmsDecode from '../../../app/middleware/parmsDecode';
@@ -12,6 +13,7 @@ import ExportTokenParser from '../../../app/middleware/tokenParser';
declare module 'egg' {
interface IMiddleware {
checkMainten: typeof ExportCheckMainten;
eggProxy: typeof ExportEggProxy;
getIp: typeof ExportGetIp;
gmTokenParser: typeof ExportGmTokenParser;
parmsDecode: typeof ExportParmsDecode;