Skip to content

Commit

Permalink
Merge pull request #52 from HausDAO/dev
Browse files Browse the repository at this point in the history
Another attempt at getting variables in the production build
  • Loading branch information
earth2travis authored Feb 24, 2025
2 parents 148bd95 + 69ab288 commit 09a5a7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ Brewfile.lock.json
.idea/

.next/cache/

wrangler.toml
4 changes: 0 additions & 4 deletions wrangler.toml

This file was deleted.

7 changes: 2 additions & 5 deletions wrangler.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@ compatibility_date = "2024-07-29"
compatibility_flags = ["nodejs_compat"]
pages_build_output_dir = ".vercel/output/static"

# Add environment variables configuration
[vars]
NEXT_PUBLIC_GRAPH_KEY = "your_graph_key_here"
NEXT_PUBLIC_GRAPH_KEY = "${NEXT_PUBLIC_GRAPH_KEY}"
NEXT_PUBLIC_URL = "http://localhost:3000"

[env.production.vars]
NEXT_PUBLIC_URL = "https://proposals.farcastle.net/"

[vars.NEXT_PUBLIC_DAO_ID]
type = "secret"
value = "your_dao_id_here"

0 comments on commit 09a5a7a

Please sign in to comment.