Skip to content

Commit

Permalink
fix: remove prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
7sete7 committed Oct 16, 2024
1 parent 665bda0 commit 7f0f3d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ if (process.env.UI_PROXY === 'true') {
if (process.env.UI_PROXY_PATH) {
fastify.register(proxy, {
upstream: process.env.UI_PROXY_URL ?? 'http://localhost:3000',
httpMethods: ['GET'],
httpMethods: ['GET', 'HEAD'],
prefix: process.env.UI_PROXY_PATH,
rewritePrefix: process.env.UI_PROXY_PATH,
disableRequestLogging: true,
});
}
}
Expand Down

0 comments on commit 7f0f3d3

Please sign in to comment.