From b88c1dc84d04ced9c1d1749a458bc938124573bd Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 16 Sep 2023 12:34:25 +0200 Subject: Fix XML feed style --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/index.ts b/src/index.ts index 0667115..8bdc80e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -66,7 +66,7 @@ function registerFile( filename, relPath: "/" + path, handle: handle, - type: pathname.startsWith("/feed-styles") ? "text/xsl" : handle.type, + type: pathname.startsWith("/feed-styles.xsl") ? "text/xsl" : handle.type, headers: pathname === "/404.html" ? Object.assign({}, defaultHeaders, { "cache-control": "no-cache" }) -- cgit 1.4.1