From 36ecb5e07e7129980607b403a381effd04a22990 Mon Sep 17 00:00:00 2001 From: Derek Slenk Date: Fri, 27 Jun 2025 01:42:08 +0000 Subject: [PATCH] I see this error with the app, reported by NextJS, please fix it. The er --- src/app/robots.txt | 5 ----- src/app/sitemap.ts | 32 -------------------------------- 2 files changed, 37 deletions(-) delete mode 100644 src/app/robots.txt delete mode 100644 src/app/sitemap.ts diff --git a/src/app/robots.txt b/src/app/robots.txt deleted file mode 100644 index 5c39d96..0000000 --- a/src/app/robots.txt +++ /dev/null @@ -1,5 +0,0 @@ -# https://www.robotstxt.org/robotstxt.html -User-agent: * -Allow: / - -Sitemap: https://cheatingchelsea.com/sitemap.xml diff --git a/src/app/sitemap.ts b/src/app/sitemap.ts deleted file mode 100644 index 0dfc6d8..0000000 --- a/src/app/sitemap.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { MetadataRoute } from 'next' - -export const dynamic = "force-static"; - -export default function sitemap(): MetadataRoute.Sitemap { - return [ - { - url: 'https://cheatingchelsea.com', - lastModified: new Date(), - changeFrequency: 'weekly', - priority: 1, - }, - { - url: 'https://cheatingchelsea.com/gallery', - lastModified: new Date(), - changeFrequency: 'weekly', - priority: 0.8, - }, - { - url: 'https://cheatingchelsea.com/dadvocate', - lastModified: new Date(), - changeFrequency: 'weekly', - priority: 0.8, - }, - { - url: 'https://cheatingchelsea.com/long-story', - lastModified: new Date(), - changeFrequency: 'monthly', - priority: 0.5, - }, - ] -}