diff options
author | Alan Pearce | 2023-09-16 12:34:25 +0200 |
---|---|---|
committer | Alan Pearce | 2023-09-16 12:34:25 +0200 |
commit | b88c1dc84d04ced9c1d1749a458bc938124573bd (patch) | |
tree | 980d7fd5b3a4b19cbfcfa00ea6e9674eef7c73fb /src | |
parent | f27b6cf19a450a45e665e6d2ea16b2cfeb3d9275 (diff) | |
download | website-b88c1dc84d04ced9c1d1749a458bc938124573bd.tar.lz website-b88c1dc84d04ced9c1d1749a458bc938124573bd.tar.zst website-b88c1dc84d04ced9c1d1749a458bc938124573bd.zip |
Fix XML feed style
Diffstat (limited to 'src')
-rw-r--r-- | src/index.ts | 2 |
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" }) |