12345678910111213141516171819202122232425262728293031323334353637383940 |
- import process from 'node:process'
- import axios from 'axios'
- const BASE_URL = process.env.NODE_ENV === 'production'
- ? 'https://www.ejetselection.com'
- : 'http://localhost:8000'
- export const sitemapConfig = {
- hostname: BASE_URL,
-
- staticRoutes: [
- {
- loc: '/',
- changefreq: 'daily',
- priority: 1,
- },
- ],
-
- async generateDynamicRoutes() {
- const routes: any[] = []
- try {
-
-
-
-
-
-
-
-
-
-
-
- }
- catch (error) {
- console.error('Error fetching brands:', error)
- }
- return routes
- },
- }
|