diff options
| author | Dominik Koch <dominik@koch-bautechnik.de> | 2025-07-23 19:33:21 +0200 |
|---|---|---|
| committer | Dominik Koch <dominik@koch-bautechnik.de> | 2025-07-23 19:33:21 +0200 |
| commit | 45096b7b6596da1eeb00d1aad209cd20756382e6 (patch) | |
| tree | bfa75913a879520947b69d311ab94d34f52d0e89 /apps/web/src/app/robots.ts | |
| parent | cabf86033032f0a396569cce9165cd656be791d6 (diff) | |
| download | opencut-45096b7b6596da1eeb00d1aad209cd20756382e6.tar.gz | |
feat: add robots/sitemap generation
Diffstat (limited to 'apps/web/src/app/robots.ts')
| -rw-r--r-- | apps/web/src/app/robots.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/web/src/app/robots.ts b/apps/web/src/app/robots.ts new file mode 100644 index 00000000..ad6c31c8 --- /dev/null +++ b/apps/web/src/app/robots.ts @@ -0,0 +1,13 @@ +import type { MetadataRoute } from "next"; +import { SITE_URL } from "@/constants/site"; + +export default function robots(): MetadataRoute.Robots { + return { + rules: { + userAgent: "*", + allow: "/", + disallow: ["/_next/", "/projects/", "/editor/"], + }, + sitemap: `${SITE_URL}/sitemap.xml`, + }; +} |
