mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-04-27 17:41:21 +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.
|
* @returns {string} robots.txt content.
|
||||||
*/
|
*/
|
||||||
function generateRobotsTxt(siteUrl: string, config: { agent: string; disallow: string[] }[]) {
|
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://developers.google.com/search/docs/advanced/sitemaps/build-sitemap#addsitemap
|
||||||
# https://www.robotstxt.org/robotstxt.html
|
# https://www.robotstxt.org/robotstxt.html
|
||||||
|
|
Loading…
Reference in a new issue