mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2025-12-26 06:28:56 +08:00
jina-ai: fix proxy ip
This commit is contained in:
parent
af10681105
commit
b4cf88bb4a
@ -6,6 +6,7 @@ import { Server } from 'http';
|
||||
const app = require('../..').default;
|
||||
|
||||
const rootApp = express();
|
||||
rootApp.set('trust proxy', true);
|
||||
rootApp.use(jinaAiMiddleware, app);
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user