Skip to content

Commit bcb473d

Browse files
committed
add trust proxy
1 parent 749c191 commit bcb473d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ app.use(
2020
})
2121
);
2222

23+
app.enable('trust proxy');
2324
app.use("/auth", authRoutes);
2425
app.use("/api", battleRoutes);
25-
app.enable('trust proxy');
2626

2727
agenda.on("ready", () => {
2828
agenda.start();

0 commit comments

Comments
 (0)