meta: task ref cleanup

This commit is contained in:
2026-07-23 21:54:52 -04:00
parent 8e33af43a5
commit f2fc6a5d1a
63 changed files with 658 additions and 485 deletions

View File

@@ -1,6 +1,8 @@
import { buildSubdomainUrl } from "~/lib/site-context";
/**
* Legacy Gaze privacy policy route — now a 308 permanent redirect to the Gaze
* subdomain (task 10).
* subdomain.
*
* The privacy policy content has been migrated to
* `src/routes/gaze/privacy.tsx`, served at `gaze.freno.me/privacy`
@@ -8,7 +10,7 @@
* `/gaze/*` prefix). Keeping this route as a permanent (308) server-side
* redirect — rather than a client `<Navigate>` — preserves SEO equity and
* gives installed / linked URLs a stable resolution path, mirroring how the
* legacy Life and Lineage marketing page was redirected in task 08.
* legacy Life and Lineage marketing page was redirected.
*
* Implemented as a SolidStart API route (`GET` handler returning a Response)
* so the redirect happens before any rendering; the route no longer ships a
@@ -18,7 +20,7 @@ export function GET() {
return new Response(null, {
status: 308,
headers: {
Location: "https://gaze.freno.me/privacy",
Location: buildSubdomainUrl("gaze", "/privacy"),
"Cache-Control": "public, max-age=0, must-revalidate"
}
});