mirror of
				https://github.com/bartvdbraak/hellob.art.git
				synced 2025-10-30 19:59:10 +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…
	
	Add table
		Add a link
		
	
		Reference in a new issue