feat: add client IP diagnostics and blocking

This commit is contained in:
whyour committed 2026-08-16 13:57:33 +08:00
1 parent 83e4490b57
commit 31f78e4d1f
16 files changed
+832 -75

No files matched your search

+2
View File
@@ -6,6 +6,7 @@ import { Application } from 'express';
import linkDeps from './deps';
import initTask from './initTask';
import initFile from './initFile';
import { initializeTrustProxy } from '../shared/trustProxy';
export default async ({ app }: { app: Application }) => {
depInjectorLoader();
@@ -24,5 +25,6 @@ export default async ({ app }: { app: Application }) => {
Logger.info('[boot] Init task loaded');
expressLoader({ app });
await initializeTrustProxy(app);
Logger.info('[boot] Express loaded');
};