Spaces:
Running
Running
Download frontend/src/app/sitemap.ts from TwanAPI/UploadFile: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/spaces/TwanAPI/UploadFile/resolve/main/frontend/src/app/sitemap.ts
- Command line
-
hf download hf://spaces/TwanAPI/UploadFile/frontend/src/app/sitemap.ts
-
curl -L -o sitemap.ts https://huggingface.co/spaces/TwanAPI/UploadFile/resolve/main/frontend/src/app/sitemap.ts
1.09 kB
| import { MetadataRoute } from "next"; | |
| export default function sitemap(): MetadataRoute.Sitemap { | |
| const now = new Date(); | |
| return [ | |
| { | |
| url: "http://localhost:3000/", | |
| lastModified: now, | |
| changeFrequency: "daily", | |
| priority: 1.0, | |
| }, | |
| { | |
| url: "http://localhost:3000/dashboard", | |
| lastModified: now, | |
| changeFrequency: "daily", | |
| priority: 0.9, | |
| }, | |
| { | |
| url: "http://localhost:3000/explorer", | |
| lastModified: now, | |
| changeFrequency: "daily", | |
| priority: 0.9, | |
| }, | |
| { | |
| url: "http://localhost:3000/developers", | |
| lastModified: now, | |
| changeFrequency: "weekly", | |
| priority: 0.85, | |
| }, | |
| { | |
| url: "http://localhost:3000/login", | |
| lastModified: now, | |
| changeFrequency: "monthly", | |
| priority: 0.8, | |
| }, | |
| { | |
| url: "http://localhost:3000/register", | |
| lastModified: now, | |
| changeFrequency: "monthly", | |
| priority: 0.8, | |
| }, | |
| { | |
| url: "http://localhost:3000/activity", | |
| lastModified: now, | |
| changeFrequency: "daily", | |
| priority: 0.7, | |
| }, | |
| ]; | |
| } | |