Add disable_seo config to keep preview deployments out of search engines
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -119,6 +119,13 @@ export type BunextConfig = {
|
||||
* `false` to skip generating it.
|
||||
*/
|
||||
robots?: BunextRobotsConfig | false;
|
||||
/**
|
||||
* Keep the whole site out of search engines, e.g. for preview
|
||||
* deployments. Every response gets `X-Robots-Tag: noindex, nofollow`,
|
||||
* pages get a matching robots meta tag (overriding `meta.robots`), and
|
||||
* `/robots.txt` disallows all crawlers regardless of `public/robots.txt`.
|
||||
*/
|
||||
disable_seo?: boolean;
|
||||
};
|
||||
|
||||
export type BunextConfigMiddlewareParams = {
|
||||
|
||||
Reference in New Issue
Block a user