22 lines
457 B
TypeScript
22 lines
457 B
TypeScript
import type { MetadataRoute } from "next";
|
|
|
|
const baseUrl = "https://www.telenetsystems.at";
|
|
|
|
export default function sitemap(): MetadataRoute.Sitemap {
|
|
return [
|
|
"",
|
|
"/internet",
|
|
"/fernsehen",
|
|
"/telefonie",
|
|
"/leistungen",
|
|
"/ueber-uns",
|
|
"/impressum",
|
|
"/datenschutz"
|
|
].map((path) => ({
|
|
url: `${baseUrl}${path}`,
|
|
lastModified: new Date(),
|
|
changeFrequency: "monthly",
|
|
priority: path === "" ? 1 : 0.8
|
|
}));
|
|
}
|