This commit is contained in:
19
apps/www/app/robots.ts
Normal file
19
apps/www/app/robots.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import type { MetadataRoute } from 'next';
|
||||
|
||||
/**
|
||||
* Robots policy: index the marketing surface, keep auth/billing/internal
|
||||
* design-QA routes out of the index. Served at /robots.txt by the App
|
||||
* Router metadata convention.
|
||||
*/
|
||||
export default function robots(): MetadataRoute.Robots {
|
||||
return {
|
||||
rules: [
|
||||
{
|
||||
userAgent: '*',
|
||||
allow: '/',
|
||||
disallow: ['/account', '/sign-in', '/sign-up', '/design/', '/api/'],
|
||||
},
|
||||
],
|
||||
sitemap: 'https://waggle-os.ai/sitemap.xml',
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user