yumechi-no-kuni-proxy-worker/wrangler.toml
eternal-flame-AD 39d1b5c667
change example configuration svg passthrough
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-13 16:27:49 -06:00

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