21 lines
422 B
TypeScript
21 lines
422 B
TypeScript
|
|
import type { MetadataRoute } from "next";
|
||
|
|
|
||
|
|
export default function sitemap(): MetadataRoute.Sitemap {
|
||
|
|
const baseUrl = "https://polyweather.top";
|
||
|
|
|
||
|
|
return [
|
||
|
|
{
|
||
|
|
url: baseUrl,
|
||
|
|
lastModified: new Date(),
|
||
|
|
changeFrequency: "weekly",
|
||
|
|
priority: 1.0,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
url: `${baseUrl}/auth/login`,
|
||
|
|
lastModified: new Date(),
|
||
|
|
changeFrequency: "monthly",
|
||
|
|
priority: 0.6,
|
||
|
|
},
|
||
|
|
];
|
||
|
|
}
|