-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.toml
More file actions
45 lines (38 loc) · 1016 Bytes
/
Copy pathwrangler.toml
File metadata and controls
45 lines (38 loc) · 1016 Bytes
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
39
40
41
42
43
44
45
name = "portifolio"
main = ".open-next/worker.js"
compatibility_date = "2026-01-08"
compatibility_flags = [
"nodejs_compat",
"global_fetch_strictly_public"
]
# Custom domain routes
routes = [
{ pattern = "indianboy.sh", custom_domain = true },
{ pattern = "www.indianboy.sh", custom_domain = true }
]
[assets]
directory = ".open-next/assets"
binding = "ASSETS"
[[services]]
binding = "WORKER_SELF_REFERENCE"
service = "portifolio"
# R2 bucket for Next.js caching (ISR support)
# Enable this after creating R2 bucket in Cloudflare dashboard
# Benefits: Incremental Static Regeneration, on-demand revalidation
# Setup guide: See docs/ADVANCED-CLOUDFLARE.md
# [[r2_buckets]]
# binding = "NEXT_INC_CACHE_R2_BUCKET"
# bucket_name = "portifolio-cache"
# Image optimization
[images]
binding = "IMAGES"
# Environment variables
[vars]
SITE_URL = "https://indianboy.sh"
# Observability and logging
[observability]
[observability.logs]
enabled = true
head_sampling_rate = 1
invocation_logs = true
persist = true