Skip to content
File

Blob: wrangler.jsonc

2.4 KB
1{
2 "$schema": "node_modules/wrangler/config-schema.json",
3 "name": "bland",
4 "main": "src/worker/index.ts",
5 "compatibility_date": "2026-03-01",
6 "compatibility_flags": ["nodejs_als"],
7 "workers_dev": false,
8 "preview_urls": false,
9 "observability": {
10 "enabled": true,
11 },
12 "upload_source_maps": true,
13 "version_metadata": {
14 "binding": "CF_VERSION_METADATA",
15 },
16 "vars": {
17 "LOG_LEVEL": "info",
18 "ALLOWED_ORIGINS": "https://bland.tools,https://docs.limic.dev",
19 "PUBLISHED_SITE_DOMAIN": "bland.site",
20 "TESSERA_OIDC_ISSUER": "https://auth.limic.dev",
21 },
22 "assets": {
23 "binding": "ASSETS",
24 "not_found_handling": "single-page-application",
25 "run_worker_first": [
26 "/*",
27 "!/app-assets/*",
28 "!/site-assets/*",
29 "!/icons/*",
30 "!/manifest.webmanifest",
31 "!/sw.js",
32 "!/workbox-*",
33 ],
34 },
35 "routes": [
36 {
37 "pattern": "bland.tools",
38 "custom_domain": true,
39 },
40 {
41 "pattern": "docs.limic.dev",
42 "custom_domain": true,
43 },
44 {
45 "pattern": "bland.site/*",
46 "zone_name": "bland.site",
47 },
48 {
49 "pattern": "*.bland.site/*",
50 "zone_name": "bland.site",
51 },
52 ],
53 "d1_databases": [
54 {
55 "binding": "DB",
56 "database_name": "bland-prod",
57 "database_id": "6002a99f-fd84-43d3-846a-707e12b3ec24",
58 "migrations_dir": "drizzle/d1",
59 },
60 ],
61 "r2_buckets": [
62 {
63 "binding": "R2",
64 "bucket_name": "bland-uploads",
65 },
66 {
67 "binding": "SITES",
68 "bucket_name": "bland-sites",
69 },
70 ],
71 "queues": {
72 "producers": [
73 {
74 "binding": "TASKS_QUEUE",
75 "queue": "bland-tasks",
76 },
77 ],
78 "consumers": [
79 {
80 "queue": "bland-tasks",
81 "max_batch_size": 10,
82 "max_batch_timeout": 5,
83 },
84 ],
85 },
86 "durable_objects": {
87 "bindings": [
88 {
89 "name": "DocSync",
90 "class_name": "DocSync",
91 },
92 {
93 "name": "WorkspaceIndexer",
94 "class_name": "WorkspaceIndexer",
95 },
96 ],
97 },
98 "ai": {
99 "binding": "AI",
100 "remote": true,
101 },
102 "images": {
103 "binding": "IMAGES",
104 },
105 "ratelimits": [
106 {
107 "name": "RL_AUTH",
108 "namespace_id": "101001",
109 "simple": {
110 "limit": 10,
111 "period": 60,
112 },
113 },
114 {
115 "name": "RL_API",
116 "namespace_id": "101002",
117 "simple": {
118 "limit": 300,
119 "period": 60,
120 },
121 },
122 {
123 "name": "RL_AI",
124 "namespace_id": "101003",
125 "simple": {
126 "limit": 30,
127 "period": 60,
128 },
129 },
130 ],
131 "migrations": [
132 {
133 "tag": "v1",
134 "new_sqlite_classes": ["DocSync"],
135 },
136 {
137 "tag": "v2",
138 "new_sqlite_classes": ["WorkspaceIndexer"],
139 },
140 ],
141}