mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-04-27 09:31:21 +00:00
feat: add disallow directives for preview / prod
This commit is contained in:
parent
4daf733939
commit
1d1447d27d
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ export async function GET() {
|
|||
const robotsConfig = [
|
||||
{
|
||||
agent: '*',
|
||||
disallow: ['/']
|
||||
disallow: import.meta.env.VERCEL_ENV === 'preview' ? ['/'] : ['/og.png/preview']
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue