diff --git a/packages/api/wrangler.toml b/packages/api/wrangler.toml index 65aa6baec8..2181a0616a 100644 --- a/packages/api/wrangler.toml +++ b/packages/api/wrangler.toml @@ -1,7 +1,7 @@ # web3.storage wrangler config. name = "web3-storage" -# `javascript` means our we'll send pre-built javascript code. +# `javascript` means our we'll send pre-built javascript code. # ...as opposed to `webpack` where wrangler builds our code for us. type = "javascript" @@ -131,6 +131,14 @@ vars = { CLUSTER_API_URL = "https://alexandra-cluster-api-web3-storage.loca.lt", [env.alexandra.durable_objects] bindings = [{ name = "NAME_ROOM", class_name = "NameRoom0" }] +[env.josh] +workers_dev = true +account_id = "b649c9389ef9c1d318ac2945b2415046" +vars = { CLUSTER_API_URL = "https://josh-cluster-api-web3-storage.loca.lt", PG_REST_URL = "https://josh-postgres-api-web3-storage.loca.lt", ENV = "dev", GATEWAY_URL = "https://ipfs.io" } + +[env.josh.durable_objects] +bindings = [{ name = "NAME_ROOM", class_name = "NameRoom0" }] + # Add your env here. Override the the values you need to change. # Create your env name as the value of `whoami` on your system, so you can run `npm start` to run in dev mode. @@ -138,7 +146,7 @@ bindings = [{ name = "NAME_ROOM", class_name = "NameRoom0" }] # [env.${whoami}] # workers_dev = true # account_id = "