From 4c09a0e8388ec14d9d3ded3278feeb4b63665caa Mon Sep 17 00:00:00 2001 From: Bart van der Braak Date: Sun, 28 Jan 2024 23:40:49 +0100 Subject: [PATCH] fix: use https protocol for url --- src/routes/sitemap.xml/+server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/sitemap.xml/+server.ts b/src/routes/sitemap.xml/+server.ts index 9a72964..7a68dd1 100644 --- a/src/routes/sitemap.xml/+server.ts +++ b/src/routes/sitemap.xml/+server.ts @@ -2,7 +2,7 @@ import { siteConfig } from '$lib/config/site'; import { navConfig } from '$lib/config/nav'; import type { NavItem } from '$lib/types/nav'; -const SITE_URL = siteConfig.url; +const SITE_URL = `https://${siteConfig.url}`; /** * SvelteKit RequestHandler for generating sitemap.