mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-04-28 10:01: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 = [
|
const robotsConfig = [
|
||||||
{
|
{
|
||||||
agent: '*',
|
agent: '*',
|
||||||
disallow: ['/']
|
disallow: import.meta.env.VERCEL_ENV === 'preview' ? ['/'] : ['/og.png/preview']
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue