mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-27 13:36:22 -04:00
pre-render optimizations
This commit is contained in:
57 files changed
+305
-318
No files matched your search
+2
-2
@@ -1,4 +1,4 @@
|
||||
import config from "../lib/config";
|
||||
import { BASE_URL } from "../lib/config/constants";
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
export const dynamic = "force-static";
|
||||
@@ -74,7 +74,7 @@ const robots = (): MetadataRoute.Robots => {
|
||||
disallow: "/",
|
||||
},
|
||||
],
|
||||
sitemap: `${config.baseUrl}/sitemap.xml`,
|
||||
sitemap: `${BASE_URL}/sitemap.xml`,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user