Files
Nimbus/apps/server/wrangler.toml
David Bauch 2efcc5ae06 docs(changeset): chore: added better-auth on error handling for production (console.error(error, AuthContext)
chore: added upstash vs valkey getter handling (upstash does not resturn
string)
chore: added wrangler dev, bun dev, and production runtime handling for server
chore: context must be re-created (not a singleton) for edge runtime)
2025-07-30 13:40:32 -04:00

21 lines
545 B
TOML

name = "nimbus-server"
main = "src/index.ts"
compatibility_date = "2025-05-18"
compatibility_flags = ["nodejs_compat"]
observability = { enabled = true }
[dev]
# wrangler dev must be run on port 80 and with sudo because wrangler sets
# Access-Control-Allow-Origin to http://localhost:1284:1284:3000
port = 80
host = "localhost"
local_protocol = "http"
[env.preview]
[env.staging]
routes = [{ pattern = "staging.api.nimbus.storage", custom_domain = true }]
[env.production]
routes = [{ pattern = "api.nimbus.storage", custom_domain = true }]