Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit

Permalink
fix: env variables being on netlify config file instead of dashboard (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ruilopesm authored Jan 30, 2024
1 parent 998c580 commit 6164e68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .env.local.sample
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
NEXT_PUBLIC_API_URL=https://sei23-staging.herokuapp.com
NEXT_PUBLIC_QRCODE_HOST=seium.org
NEXT_PUBLIC_API_URL=http://localhost:4000
NEXT_PUBLIC_QRCODE_HOST=seium.org
7 changes: 0 additions & 7 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,8 @@
[build.environment]
NODE_VERSION = "18.12.0"

[context.production.environment]
NEXT_PUBLIC_API_URL = "https://sei23-production.herokuapp.com"

[context.deploy-preview.environment]
NEXT_PUBLIC_API_URL = "https://sei23-production.herokuapp.com"

[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"

0 comments on commit 6164e68

Please sign in to comment.