Merge pull request #224 from bartvdbraak/fix/sitemap-https

Fix URL protocol in sitemap generation
This commit is contained in:
Bart van der Braak 2024-01-28 23:50:21 +01:00 committed by GitHub
commit fc163ae061
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.