Skip to content

Commit

Permalink
chore: add DID env var to access-api wrangler.toml for staging and pr…
Browse files Browse the repository at this point in the history
…oduction (#295)

Motivation:
* enable the DID functionality in these environments
  • Loading branch information
gobengo authored Dec 13, 2022
1 parent b3dc556 commit 79b86dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/access-api/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ unsafe = { bindings = [
[env.staging]
name = "w3access-staging"
workers_dev = true
vars = { ENV = "staging", DEBUG = "false" }
vars = { ENV = "staging", DEBUG = "false", DID = "did:web:staging.web3.storage" }
build = { command = "scripts/cli.js build --env staging", watch_dir = "src" }
kv_namespaces = [
{ binding = "SPACES", id = "b0e5ca990dda4e3784a1741dfa28a52e" },
Expand All @@ -77,7 +77,7 @@ unsafe = { bindings = [
[env.production]
name = "w3access"
routes = [{ pattern = "access.web3.storage", custom_domain = true }]
vars = { ENV = "production", DEBUG = "false" }
vars = { ENV = "production", DEBUG = "false", DID = "did:web:web3.storage" }
build = { command = "scripts/cli.js build --env production", watch_dir = "src" }
kv_namespaces = [
{ binding = "SPACES", id = "5437954e8cfd4f7d98557132b0a2e93f" },
Expand Down

0 comments on commit 79b86dc

Please sign in to comment.