Skip to content

Commit 3858596

Browse files
authored
Merge pull request #18 from iyawnnn/dev
Dev
2 parents 40d9ed2 + bb89753 commit 3858596

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

src/app/layout.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ const satoshi = localFont({
1212
weight: "300 900",
1313
});
1414

15-
const DOMAIN = "https://subvantage.iansebastian.dev";
15+
const DOMAIN = process.env.NEXT_PUBLIC_APP_URL || "http://localhost:3000";
1616

17-
// SEO Metadata Configuration
1817
export const metadata: Metadata = {
1918
metadataBase: new URL(DOMAIN),
2019
title: {
@@ -46,7 +45,7 @@ export const metadata: Metadata = {
4645
url: "/og-image.png",
4746
width: 1200,
4847
height: 630,
49-
alt: "SubVantage Dashboard Preview",
48+
alt: "SubVantage subscription management dashboard displaying financial analytics and upcoming renewal alerts",
5049
},
5150
],
5251
},

src/app/robots.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import { MetadataRoute } from 'next';
22

3-
const DOMAIN = "https://subvantage.iansebastian.dev";
3+
const DOMAIN = process.env.NEXT_PUBLIC_APP_URL || "http://localhost:3000";
44

55
export default function robots(): MetadataRoute.Robots {
66
return {
77
rules: {
88
userAgent: '*',
99
allow: '/',
10-
// Protect private user data from being indexed
1110
disallow: ['/dashboard/', '/api/', '/settings/', '/subscriptions/', '/archive/'],
1211
},
1312
sitemap: `${DOMAIN}/sitemap.xml`,

0 commit comments

Comments
 (0)