meta: task ref cleanup
This commit is contained in:
@@ -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"
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import { buildSubdomainUrl } from "~/lib/site-context";
|
||||
|
||||
/**
|
||||
* Legacy Life and Lineage privacy policy route — now a 308 permanent redirect
|
||||
* to the Lineage subdomain (task 10).
|
||||
* to the Lineage subdomain.
|
||||
*
|
||||
* The privacy policy content has been migrated to
|
||||
* `src/routes/lineage/privacy.tsx`, served at `lineage.freno.me/privacy`
|
||||
@@ -8,7 +10,7 @@
|
||||
* `/lineage/*` 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://lineage.freno.me/privacy",
|
||||
Location: buildSubdomainUrl("lineage", "/privacy"),
|
||||
"Cache-Control": "public, max-age=0, must-revalidate"
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user