feat: enforce canonical URLs by redirecting trailing slashes

This commit is contained in:
2026-01-13 14:17:42 -06:00
parent 99f9b5e303
commit eabe866d31
2 changed files with 12 additions and 0 deletions
+2
View File
@@ -4,6 +4,8 @@ import { apiFetch } from "$lib/api.server";
import type { SiteSettings } from "$lib/admin-types";
import { building } from "$app/environment";
export const trailingSlash = "never";
const DEFAULT_SETTINGS: SiteSettings = {
identity: {
siteTitle: "xevion.dev",