Add initial project files

This commit is contained in:
Igor Martyniuk
2026-09-01 13:03:41 +03:00
parent 22e111bb44
commit 74cb5b6176
1841 changed files with 242819 additions and 30 deletions
+17
View File
@@ -0,0 +1,17 @@
import type { MetadataRoute } from 'next';
import { siteUrl } from '#web-runtime/lib/site-url';
export default function robots(): MetadataRoute.Robots {
const origin = siteUrl();
return {
rules: {
userAgent: '*',
allow: '/',
// Preview URLs render unpublished drafts behind a signed token; they must never be indexed.
// The page also sends `noindex`, this just saves crawlers the fetch.
disallow: '/*/preview'
},
sitemap: new URL('/sitemap.xml', origin).href
};
}