Skip to content

Commit

Permalink
hotfix: allowed cors origins
Browse files Browse the repository at this point in the history
  • Loading branch information
romeq committed Jul 1, 2023
1 parent 44b7692 commit 2b81cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default {
data_dir: process.env.DATA_DIR || "./data",
skipRatelimiters: process.env.SKIPRATELIMITERS == "true",
corsEnabled: process.env.ENABLE_CORS == "true",
corsAllowed: process.env.ALLOWED_CORS_ORIGINS.split(","),
corsAllowed: (process.env.ALLOWED_CORS_ORIGINS || "").split(","),

mailerEnabled: process.env.MAIL_ENABLED === "true",
getMailer: getMailer,
Expand Down

0 comments on commit 2b81cee

Please sign in to comment.