mirror of
https://github.com/TheRealOwenRees/chess-scribe-website.git
synced 2026-07-23 01:46:57 +00:00
noindex nofollow on callback route
This commit is contained in:
@@ -8,6 +8,10 @@ const callbackSchema = z.object({
|
|||||||
});
|
});
|
||||||
|
|
||||||
export const Route = createFileRoute("/callback")({
|
export const Route = createFileRoute("/callback")({
|
||||||
|
head: () => ({
|
||||||
|
meta: [{ name: "robots", content: "noindex, nofollow" }],
|
||||||
|
}),
|
||||||
|
|
||||||
validateSearch: (search) => callbackSchema.parse(search),
|
validateSearch: (search) => callbackSchema.parse(search),
|
||||||
|
|
||||||
beforeLoad: ({ search }) => {
|
beforeLoad: ({ search }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user