+16
-16
@@ -1,20 +1,20 @@
|
||||
import { MetadataRoute } from 'next';
|
||||
import { routing } from '@/i18n/routing';
|
||||
import { MetadataRoute } from "next";
|
||||
import { routing } from "@/i18n/routing";
|
||||
|
||||
const baseUrl = process.env.NEXT_PUBLIC_APP_URL || 'https://iddaai.com';
|
||||
const baseUrl = process.env.NEXT_PUBLIC_APP_URL || "https://iddaai.com";
|
||||
|
||||
const staticPages = [
|
||||
'',
|
||||
'/home',
|
||||
'/about',
|
||||
'/analysis',
|
||||
'/leagues',
|
||||
'/matches',
|
||||
'/teams',
|
||||
'/predictions',
|
||||
'/spor-toto',
|
||||
'/coupon-builder',
|
||||
'/h2h'
|
||||
"",
|
||||
"/home",
|
||||
"/about",
|
||||
"/analysis",
|
||||
"/leagues",
|
||||
"/matches",
|
||||
"/teams",
|
||||
"/predictions",
|
||||
"/spor-toto",
|
||||
"/coupon-builder",
|
||||
"/h2h",
|
||||
];
|
||||
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
@@ -25,8 +25,8 @@ export default function sitemap(): MetadataRoute.Sitemap {
|
||||
sitemapEntries.push({
|
||||
url: `${baseUrl}/${locale}${page}`,
|
||||
lastModified: new Date(),
|
||||
changeFrequency: 'daily',
|
||||
priority: page === '' || page === '/home' ? 1.0 : 0.8,
|
||||
changeFrequency: "daily",
|
||||
priority: page === "" || page === "/home" ? 1.0 : 0.8,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user