aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/robots.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/robots.ts')
-rw-r--r--src/app/robots.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/app/robots.ts b/src/app/robots.ts
new file mode 100644
index 0000000..5fb07a6
--- /dev/null
+++ b/src/app/robots.ts
@@ -0,0 +1,13 @@
+import { env } from '@/lib/env'
+import { MetadataRoute } from 'next'
+
+export default function robots(): MetadataRoute.Robots {
+ return {
+ rules: {
+ userAgent: '*',
+ allow: '/',
+ disallow: '/groups/',
+ },
+ sitemap: `${env.NEXT_PUBLIC_BASE_URL}/sitemap.xml`,
+ }
+}