-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwrangler.toml
More file actions
36 lines (30 loc) · 1.05 KB
/
wrangler.toml
File metadata and controls
36 lines (30 loc) · 1.05 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
# Cloudflare Workers configuration for TishCommerce
# See https://developers.cloudflare.com/workers/wrangler/configuration/
name = "tishcommerce"
main = ".open-next/worker.js"
compatibility_date = "2025-12-01"
compatibility_flags = ["nodejs_compat", "global_fetch_strictly_public"]
[assets]
directory = ".open-next/assets"
binding = "ASSETS"
# Self-reference service binding for caching
# See https://opennext.js.org/cloudflare/caching
[[services]]
binding = "WORKER_SELF_REFERENCE"
service = "tishcommerce"
# R2 bucket for incremental cache - DISABLED (requires R2 to be enabled in Cloudflare account)
# Uncomment the following lines after enabling R2 in your Cloudflare dashboard
# See https://opennext.js.org/cloudflare/caching
# [[r2_buckets]]
# binding = "NEXT_INC_CACHE_R2_BUCKET"
# bucket_name = "tishcommerce-cache"
# Enable image optimization
# See https://opennext.js.org/cloudflare/howtos/image
[images]
binding = "IMAGES"
# Observability and logging configuration
[observability.logs]
enabled = true
head_sampling_rate = 1
invocation_logs = true
persist = true