Skip to content

Commit

Permalink
fix: location
Browse files Browse the repository at this point in the history
  • Loading branch information
Myphz committed Oct 2, 2023
1 parent 0c8192d commit 695c7b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# fly.toml file generated for wwwallet on 2022-10-18T15:10:11+02:00

app = "wwwallet"
primary_region = "ams"

kill_signal = "SIGINT"
kill_timeout = 5
processes = []
Expand Down
8 changes: 4 additions & 4 deletions src/config/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ app.use(cookieParser());

// Enable if you're behind a reverse proxy (Heroku, Bluemix, AWS ELB, Nginx, etc)
// For express-rate-limit
if (process.env.NODE_ENV !== "production") {
app.set("trust proxy", 2);
}
// if (process.env.NODE_ENV === "production") {
// app.set("trust proxy", 2);
// }

export default app;
export default app;

0 comments on commit 695c7b1

Please sign in to comment.