jina-ai: fix proxy ip

This commit is contained in:
Yanlong Wang
2025-02-18 20:31:40 +08:00
parent af10681105
commit b4cf88bb4a

View File

@@ -6,6 +6,7 @@ import { Server } from 'http';
const app = require('../..').default;
const rootApp = express();
rootApp.set('trust proxy', true);
rootApp.use(jinaAiMiddleware, app);