// server/api/__sitemap__/urls.get.ts
export default defineEventHandler(async () => {
  const baseUrl = 'https://easysite102.ru'
  
  // Статические страницы
  const staticPages = [
    {
      loc: `${baseUrl}/`,
      lastmod: new Date().toISOString(),
      changefreq: 'daily' as const,
      priority: 1.0
    },
    {
      loc: `${baseUrl}/about`,
      lastmod: new Date().toISOString(),
      changefreq: 'monthly' as const,
      priority: 0.7
    },
    {
      loc: `${baseUrl}/contact`,
      lastmod: new Date().toISOString(),
      changefreq: 'monthly' as const,
      priority: 0.8
    }
  ]
  
  return staticPages
})