1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-28 14:45:52 -04:00

attempt to make edge functions a tad bit lighter

This commit is contained in:
2023-07-06 10:37:51 -04:00
parent 2f44d8d227
commit b13c8259b3
17 changed files with 121 additions and 146 deletions

View File

@@ -1,4 +1,3 @@
import { baseUrl } from "../lib/config";
import type { GetServerSideProps } from "next";
export const getServerSideProps: GetServerSideProps<Record<string, never>> = async (context) => {
@@ -12,7 +11,7 @@ ${
? `Disallow: /`
: `Allow: /
Sitemap: ${baseUrl}/sitemap.xml`
Sitemap: ${process.env.BASE_URL}/sitemap.xml`
}
`;