25 lines
590 B
TOML
25 lines
590 B
TOML
name = "yumechi-no-kuni-proxy-worker"
|
|
main = "build/worker/shim.mjs"
|
|
compatibility_date = "2024-11-11"
|
|
|
|
[build]
|
|
command = "cargo install -q worker-build && worker-build --release --features cf-worker"
|
|
|
|
[observability]
|
|
enabled = true
|
|
head_sampling_rate = 1
|
|
|
|
[vars]
|
|
enable_cache = true
|
|
index_redirect = { permanent = false, url = "https://mi.yumechi.jp/" }
|
|
allow_unknown = false
|
|
|
|
[vars.fetch]
|
|
allow_http = false
|
|
via = "yumechi-no-kuni-proxy-worker"
|
|
user_agent = "Yumechi-no-Kuni-Proxy-Worker"
|
|
|
|
[vars.post_process]
|
|
enable_redirects = false
|
|
normalization = "lazy"
|
|
allow_svg_passthrough = false
|