Skip to content

Commit

Permalink
Update SEO tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchernchong committed Dec 2, 2024
1 parent 1964003 commit 1a3700c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions app/(dashboard)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ export const metadata: Metadata = {
card: "summary_large_image",
title,
description,
site: "@sgcarstrends",
creator: "@sgcarstrends",
},
authors: [{ name: "Ru Chern CHONG", url: "https://ruchern.xyz" }],
creator: "Ru Chern CHONG",
};

const RootLayout = async ({
Expand Down
2 changes: 2 additions & 0 deletions middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export const middleware = (request: NextRequest) => {
cspHeader.replace(/\s{2,}/g, " ").trim(),
);

requestHeaders.set("X-Robots-Tag", "all");

return NextResponse.next({
headers: requestHeaders,
request: {
Expand Down

0 comments on commit 1a3700c

Please sign in to comment.