File tree Expand file tree Collapse file tree 4 files changed +4
-1
lines changed
Expand file tree Collapse file tree 4 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 11API_URL =
2+ APP_URL =
23
34FIREBASE_API_KEY =
45FIREBASE_AUTH_DOMAIN =
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ const geistMono = Geist_Mono({
1717export const metadata : Metadata = {
1818 title : SITE_NAME ,
1919 description : 'A simple and powerful library management system' ,
20+ metadataBase : new URL ( process . env . APP_URL ! ) ,
2021}
2122
2223export default function RootLayout ( {
Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ export default function robots(): MetadataRoute.Robots {
1212 '/users/*' ,
1313 ] ,
1414 } ,
15- sitemap : 'https://librarease.org /sitemap.xml' ,
15+ sitemap : ` ${ process . env . APP_URL } /sitemap.xml` ,
1616 }
1717}
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ const nextConfig: NextConfig = {
77 env : {
88 API_URL : process . env . API_URL ,
99 SESSION_COOKIE_NAME : process . env . SESSION_COOKIE_NAME ,
10+ APP_URL : process . env . APP_URL ,
1011 } ,
1112
1213 rewrites : async ( ) => {
You can’t perform that action at this time.
0 commit comments