Spaces:
Running
Running
| import { MetadataRoute } from 'next'; | |
| export default function sitemap(): MetadataRoute.Sitemap { | |
| const baseUrl = 'https://huggingface.co/deepsite'; | |
| return [ | |
| { | |
| url: baseUrl, | |
| lastModified: new Date(), | |
| changeFrequency: 'daily', | |
| priority: 1, | |
| }, | |
| { | |
| url: `${baseUrl}/new`, | |
| lastModified: new Date(), | |
| changeFrequency: 'weekly', | |
| priority: 0.8, | |
| }, | |
| { | |
| url: `${baseUrl}/auth`, | |
| lastModified: new Date(), | |
| changeFrequency: 'monthly', | |
| priority: 0.5, | |
| }, | |
| // Note: Dynamic project routes will be handled by Next.js automatically | |
| // but you can add specific high-priority project pages here if needed | |
| ]; | |
| } | |