Skip to content

Commit e2dd85d

Browse files
JoeMattclaude
andcommitted
chore: clean up sitemap and remove 0-byte placeholder files
- Remove testflight from sitemap (page is noindex, shouldn't be sitemapped) - Use static lastModified dates instead of new Date() (prevents unnecessary sitemap churn on every deploy; new Date() changes the sitemap on every build) - Delete public/header.png and public/news-welcome.png (0-byte placeholders no longer referenced anywhere; all feeds now use icon-1024.png) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 0bbaafc commit e2dd85d

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

public/header.png

Whitespace-only changes.

public/news-welcome.png

Whitespace-only changes.

src/app/sitemap.ts

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ export const dynamic = 'force-static'
44

55
export default function sitemap(): MetadataRoute.Sitemap {
66
const base = 'https://icube-emu.com'
7-
const now = new Date()
87
return [
9-
{ url: `${base}/`, lastModified: now, changeFrequency: 'weekly', priority: 1.0 },
10-
{ url: `${base}/downloads/`, lastModified: now, changeFrequency: 'weekly', priority: 0.9 },
11-
{ url: `${base}/testflight/`, lastModified: now, changeFrequency: 'weekly', priority: 0.8 },
12-
{ url: `${base}/features/`, lastModified: now, changeFrequency: 'monthly', priority: 0.8 },
13-
{ url: `${base}/about/`, lastModified: now, changeFrequency: 'monthly', priority: 0.7 },
14-
{ url: `${base}/support/`, lastModified: now, changeFrequency: 'monthly', priority: 0.6 },
15-
{ url: `${base}/donate/`, lastModified: now, changeFrequency: 'monthly', priority: 0.5 },
16-
{ url: `${base}/links/`, lastModified: now, changeFrequency: 'monthly', priority: 0.4 },
8+
{ url: `${base}/`, lastModified: '2025-10-05', changeFrequency: 'weekly', priority: 1.0 },
9+
{ url: `${base}/downloads/`, lastModified: '2025-10-05', changeFrequency: 'weekly', priority: 0.9 },
10+
{ url: `${base}/features/`, lastModified: '2025-10-05', changeFrequency: 'monthly', priority: 0.8 },
11+
{ url: `${base}/about/`, lastModified: '2025-10-05', changeFrequency: 'monthly', priority: 0.7 },
12+
{ url: `${base}/support/`, lastModified: '2025-10-05', changeFrequency: 'monthly', priority: 0.6 },
13+
{ url: `${base}/donate/`, lastModified: '2025-10-05', changeFrequency: 'monthly', priority: 0.5 },
14+
{ url: `${base}/links/`, lastModified: '2025-10-05', changeFrequency: 'monthly', priority: 0.4 },
1715
]
1816
}

0 commit comments

Comments
 (0)