Skip to content

Commit

Permalink
Define variables for environments (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
UpliftMacaw authored Nov 13, 2024
1 parent 5450eb2 commit a73d5fa
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions wally-registry-frontend/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@ compatibility_date = "2024-07-29"
compatibility_flags = ["nodejs_compat"]
pages_build_output_dir = ".vercel/output/static"

[vars]
NEXT_PUBLIC_WALLY_API_URL="https://api.wally.run"
vars = { NEXT_PUBLIC_WALLY_API_URL = "https://api.wally.run" }

[env.production]
vars = { NEXT_PUBLIC_WALLY_API_URL = "https://api.wally.run" }

[env.preview]
vars = { NEXT_PUBLIC_WALLY_API_URL = "https://api.test.wally.run" }

0 comments on commit a73d5fa

Please sign in to comment.