mirror of
https://github.com/2930134478/AI-CS.git
synced 2026-06-15 00:44:30 +08:00
13 lines
387 B
TypeScript
13 lines
387 B
TypeScript
import type { MetadataRoute } from "next";
|
|
import { getSiteUrl } from "@/lib/site";
|
|
|
|
export default function sitemap(): MetadataRoute.Sitemap {
|
|
const base = getSiteUrl();
|
|
const now = new Date();
|
|
|
|
return [
|
|
{ url: base, lastModified: now, changeFrequency: "weekly", priority: 1 },
|
|
{ url: `${base}/chat`, lastModified: now, changeFrequency: "monthly", priority: 0.7 },
|
|
];
|
|
}
|