-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
38 lines (38 loc) · 1.09 KB
/
Copy pathwrangler.jsonc
File metadata and controls
38 lines (38 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"$schema": "node_modules/wrangler/config-schema.json",
// IMPORTANT: This is the production product Worker. Keep its name and apex
// domain here only; reusing "fetchmoji" in another Wrangler config can move
// or remove this Worker's custom-domain bindings during deployment.
"name": "fetchmoji",
"account_id": "8d4ef8fe891f53e5658d3fdd5a4c7630",
"compatibility_date": "2026-03-30",
"main": "src/worker.ts",
"routes": [
{
"pattern": "fetchmoji.com",
"custom_domain": true
}
],
"assets": {
"directory": "./dist",
"binding": "ASSETS",
// Run worker for all routes to add COOP/COEP headers
// (required for SharedArrayBuffer / multi-threading)
"run_worker_first": true,
"not_found_handling": "404-page"
},
"env": {
"seo_preview": {
"name": "fetchmoji-seo-preview",
"routes": [
{
"pattern": "seo-preview.fetchmoji.com",
"custom_domain": true
}
],
"vars": {
"PREVIEW_NOINDEX": "true"
}
}
}
}