-
Notifications
You must be signed in to change notification settings - Fork 66
en Configuration
github-actions[bot] edited this page Jul 6, 2026
·
2 revisions
Overview · Features · Tech Stack · Quick Start · Deployment · Project Structure · Architecture · Widgets · API · Database · Settings · Security · Configuration · Roadmap · License
-
wrangler.jsonc— local development (wrangler dev); novars— configure Access only in the dashboard -
wrangler.production.jsonc.example— production config template -
wrangler.production.jsonc— your production config (gitignored; copy from template or generate via script); novars/secrets so deploys do not overwrite dashboard settings
Example root wrangler.jsonc:
Frontend build output goes to server/public/ (build.outDir in web/vite.config.ts).
{ "name": "ternssh", "main": "server/src/index.ts", "assets": { "directory": "./server/public", "not_found_handling": "single-page-application", "run_worker_first": ["/api/*"] }, "d1_databases": [{ "binding": "DB", "database_name": "ternssh", "database_id": "local-ternssh-db", "migrations_dir": "server/migrations" }], "durable_objects": { "bindings": [{ "name": "SSH_SESSION", "class_name": "SshSession" }] }, "migrations": [{ "tag": "v1", "new_sqlite_classes": ["SshSession"] }] }