mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 22:30:41 +08:00
Remove og-injector middleware that ran on every request. Social crawlers are redirected to the open-graph worker via a cloudflare rule now.
21 lines
361 B
TOML
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
|