Skip to content
File

Blob: wrangler.jsonc

1.1 KB
1{
2 "$schema": "./node_modules/wrangler/config-schema.json",
3 "name": "flamemail",
4 "main": "src/worker/index.ts",
5 "workers_dev": false,
6 "compatibility_date": "2026-03-13",
7 "vars": {
8 "TESSERA_OIDC_ISSUER": "https://auth.limic.dev",
9 },
10 "assets": {
11 "directory": "./dist/client",
12 "binding": "ASSETS",
13 "not_found_handling": "single-page-application",
14 "run_worker_first": ["/api/*", "/ws"],
15 },
16 "d1_databases": [
17 {
18 "binding": "DB",
19 "database_name": "flamemail-db",
20 "database_id": "0bf20b21-ff79-4c7e-8bc3-7c59cb854a63",
21 "migrations_dir": "drizzle",
22 },
23 ],
24 "r2_buckets": [
25 {
26 "binding": "STORAGE",
27 "bucket_name": "flamemail-emails",
28 },
29 ],
30 "kv_namespaces": [
31 {
32 "binding": "SESSIONS",
33 "id": "2351c44987c54f7b9c7fa0926cbfb10a",
34 },
35 ],
36 "durable_objects": {
37 "bindings": [
38 {
39 "name": "INBOX_WS",
40 "class_name": "InboxWebSocket",
41 },
42 ],
43 },
44 "migrations": [
45 {
46 "tag": "v1",
47 "new_sqlite_classes": ["InboxWebSocket"],
48 },
49 ],
50 "triggers": {
51 "crons": ["0 * * * *"],
52 },
53 "observability": {
54 "enabled": true,
55 },
56 "routes": [
57 {
58 "pattern": "mail.limic.dev",
59 "custom_domain": true,
60 },
61 ],
62}