parent
							
								
									cd3170dabd
								
							
						
					
					
						commit
						1f63f50343
					
				
					 2 changed files with 10 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								assets/robots.txt
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								assets/robots.txt
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,4 @@ | ||||||
|  | user-agent: * | ||||||
|  | allow: / | ||||||
|  | 
 | ||||||
|  | # todo: sitemap | ||||||
|  | @ -79,6 +79,12 @@ router.get('/manifest.json', async ctx => { | ||||||
| 	}); | 	}); | ||||||
| }); | }); | ||||||
| 
 | 
 | ||||||
|  | router.get('/robots.txt', async ctx => { | ||||||
|  | 	await send(ctx as any, '/assets/robots.txt', { | ||||||
|  | 		root: client | ||||||
|  | 	}); | ||||||
|  | }); | ||||||
|  | 
 | ||||||
| //#endregion
 | //#endregion
 | ||||||
| 
 | 
 | ||||||
| // Docs
 | // Docs
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue