diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-04 12:18:30 +0300 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-04 12:18:30 +0300 |
| commit | c25a63106441bf0c0384a3a4ea1f373e27b63e60 (patch) | |
| tree | 5dc7dc58629bb89449b49ef04072e9ae25212eb7 /robots-txt.config.ts | |
| parent | 3f51c4638cc44b9f399f8bba65aea919ce60076d (diff) | |
Disallow /micro from robots
Diffstat (limited to 'robots-txt.config.ts')
| -rw-r--r-- | robots-txt.config.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/robots-txt.config.ts b/robots-txt.config.ts new file mode 100644 index 0000000..85a8b0e --- /dev/null +++ b/robots-txt.config.ts @@ -0,0 +1,13 @@ +import type { RobotsTxtOptions } from 'astro-robots-txt'; + +const robotsConfig: RobotsTxtOptions = { + policy: [ + { + userAgent: '*', + disallow: ['/micro/', '/micro'], + }, + ], + sitemapBaseFileName: 'sitemap-index', // default 'sitemap-index' +}; + +export default robotsConfig; |
