mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-27 13:36:22 -04:00
clean up remaining NEXT_PUBLIC_ environment variables
This commit is contained in:
21 files changed
+137
-117
No files matched your search
+2
-2
@@ -1,4 +1,4 @@
|
||||
import { BASE_URL } from "../lib/config/constants";
|
||||
import { env } from "../lib/env";
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
const robots = (): MetadataRoute.Robots => ({
|
||||
@@ -8,7 +8,7 @@ const robots = (): MetadataRoute.Robots => ({
|
||||
disallow: ["/api/", "/404", "/500"],
|
||||
},
|
||||
],
|
||||
sitemap: `${BASE_URL}/sitemap.xml`,
|
||||
sitemap: `${env.NEXT_PUBLIC_BASE_URL}/sitemap.xml`,
|
||||
});
|
||||
|
||||
export default robots;
|
||||
Reference in new issue
Block a user