Skip to content

Commit

Permalink
jina-ai: fix proxy ip
Browse files Browse the repository at this point in the history
  • Loading branch information
nomagick committed Feb 18, 2025
1 parent af10681 commit b4cf88b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jina-ai/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Server } from 'http';
const app = require('../..').default;

const rootApp = express();
rootApp.set('trust proxy', true);
rootApp.use(jinaAiMiddleware, app);


Expand Down

0 comments on commit b4cf88b

Please sign in to comment.