Files
radicle-explorer/workers/open-graph/wrangler.toml
T
Rūdolfs Ošiņš 78ccb93d84 Move header injection to open-graph worker
Remove og-injector middleware that ran on every request. Social crawlers are
redirected to the open-graph worker via a cloudflare rule now.
2026-04-15 14:23:04 +02:00

21 lines
361 B
TOML

name = "open-graph"
compatibility_date = "2025-04-03"
main = "index.js"
routes = [
{ pattern = "open-graph.radicle.network/*", zone_name = "radicle.network" },
]
[vars]
APP_BASE = "https://app.radicle.xyz"
[[rules]]
type = "CompiledWasm"
globs = ["**/*.wasm"]
fallthrough = true
[[rules]]
type = "Data"
globs = ["**/*.ttf", "**/*.jpg"]
fallthrough = true