Move public deployment from app.radicle.xyz to radicle.network

This commit is contained in:
Rūdolfs Ošiņš
2026-04-23 00:08:23 +02:00
committed by Lorenz Leutgeb
parent 1003b165e5
commit 7e725f3bdf
9 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ preview card images for social media embeds.
## How it works
`app.radicle.xyz` is a plain static SPA. A Cloudflare Redirect Rule
`radicle.network` is a plain static SPA. A Cloudflare Redirect Rule
302s social media crawlers to `open-graph.radicle.network`, which
returns HTML with OG tags. The `og:image` points to `/cards/...` on
the same domain, where the worker renders PNG cards via Satori + resvg-wasm.
@@ -26,7 +26,7 @@ cards degrade: specific item -> repo -> node -> home.
**Rules > Redirect Rules** on the `radicle.xyz` zone:
```
(http.host eq "app.radicle.xyz") and (
(http.host eq "radicle.network") and (
(http.user_agent contains "Twitterbot") or
(http.user_agent contains "facebookexternalhit") or
(http.user_agent contains "Facebot") or
+1 -1
View File
@@ -2185,7 +2185,7 @@ async function handleOgHtml(request, url, env) {
return new Response("Not found", { status: 404 });
}
const appBase = env.APP_BASE || "https://app.radicle.xyz";
const appBase = env.APP_BASE || "https://radicle.network";
const appHost = new URL(appBase).hostname;
const hostParam = route.type === "home" ? `?host=${appHost}` : "";
const ogImageUrl = escapeHtml(
+1 -1
View File
@@ -7,7 +7,7 @@ routes = [
]
[vars]
APP_BASE = "https://app.radicle.xyz"
APP_BASE = "https://radicle.network"
[[rules]]
type = "CompiledWasm"