summary refs log tree commit diff stats
path: root/src/index.ts
diff options
context:
space:
mode:
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" })