Closed janat08 closed 2 years ago
heres some of my wrangler.toml
[durable_objects]
bindings = [
{ name = "SESSION", class_name = "Session" },
{ name = "STATE", class_name = "State"}
]
[[migrations]]
tag = "v1" # Should be unique for each entry
new_classes = ["State", "Session"]
I also had another environment in there, and while the docs then didn't mention anything about adjust wrangler for multiple environments they did expect you to do stuff, look at docs for what.
I get an error in production that doesn't happen on miniflare or wrangler dev. Wrangler tail doesn't show logs for it. https://ownthe.email/login