mirror of
				https://github.com/bartvdbraak/hellob.art.git
				synced 2025-10-30 19:59:10 +00:00 
			
		
		
		
	fix: add protocol to sitemap url
This commit is contained in:
		
							parent
							
								
									c37a4efef3
								
							
						
					
					
						commit
						1d7f8878da
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -31,7 +31,7 @@ export async function GET() { | |||
|  * @returns {string} robots.txt content. | ||||
|  */ | ||||
| function generateRobotsTxt(siteUrl: string, config: { agent: string; disallow: string[] }[]) { | ||||
| 	return `Sitemap: ${siteUrl}/sitemap.xml
 | ||||
| 	return `Sitemap: https://${siteUrl}/sitemap.xml
 | ||||
| 
 | ||||
| # https://developers.google.com/search/docs/advanced/sitemaps/build-sitemap#addsitemap
 | ||||
| # https://www.robotstxt.org/robotstxt.html
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue