diff options
| author | iza <59828082+izadoesdev@users.noreply.github.com> | 2025-07-23 20:46:02 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-23 20:46:02 +0300 |
| commit | 81ad5c1782bfed92c2fdcd78b5131748871f098e (patch) | |
| tree | 64484ef01958bd660462d821e645bd3a87911ca3 /apps/web/src/app/robots.ts | |
| parent | 41a78b4e4c128e45353a0a1a516ea3ac4b796623 (diff) | |
| parent | 17d1336c8068b42cb0f48dad511dec41d2285bfb (diff) | |
| download | opencut-81ad5c1782bfed92c2fdcd78b5131748871f098e.tar.gz | |
Merge pull request #443 from OpenCut-app/feat/sitemap
feat: add sitemap and robots 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`, + }; +} |
