summary refs log tree commit diff stats
path: root/src/index.ts
diff options
context:
space:
mode:
authorAlan Pearce2023-09-16 12:34:25 +0200
committerAlan Pearce2023-09-16 12:34:25 +0200
commitb88c1dc84d04ced9c1d1749a458bc938124573bd (patch)
tree980d7fd5b3a4b19cbfcfa00ea6e9674eef7c73fb /src/index.ts
parentf27b6cf19a450a45e665e6d2ea16b2cfeb3d9275 (diff)
downloadwebsite-b88c1dc84d04ced9c1d1749a458bc938124573bd.tar.lz
website-b88c1dc84d04ced9c1d1749a458bc938124573bd.tar.zst
website-b88c1dc84d04ced9c1d1749a458bc938124573bd.zip
Fix XML feed style
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts2
1 files changed, 1 insertions, 1 deletions
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" })