Implement issues for v1.1.0 #20
.editorconfig.env.EXAMPLE.gitignoreREADME.mdfaviconDescription.jsonicon.svgmoshing-mammut.service.EXAMPLEpackage-lock.jsonpackage.json
src
start.sh.EXAMPLEstatic
android-chrome-192x192.pngandroid-chrome-512x512.pngapple-touch-icon-120x120-precomposed.pngapple-touch-icon-120x120.pngapple-touch-icon-152x152-precomposed.pngapple-touch-icon-152x152.pngapple-touch-icon-180x180-precomposed.pngapple-touch-icon-180x180.pngapple-touch-icon-60x60-precomposed.pngapple-touch-icon-60x60.pngapple-touch-icon-76x76-precomposed.pngapple-touch-icon-76x76.pngapple-touch-icon-precomposed.pngapple-touch-icon.pngbrowserconfig.xmlfavicon-16x16.pngfavicon-32x32.pngfavicon.icofavicon.pngmstile-144x144.pngmstile-150x150.pngmstile-310x150.pngmstile-310x310.pngmstile-70x70.pngsafari-pinned-tab.svgsite.webmanifeststyle.css
@ -18,6 +18,10 @@ export const handleError = (({ error }) => {
|
||||
import type { Handle } from '@sveltejs/kit';
|
||||
|
||||
export const handle = (async ({ event, resolve }) => {
|
||||
// Reeder *insists* on checking /feed instead of /feed.xml
|
||||
if (event.url.pathname === '/feed') {
|
||||
return new Response('', { status: 301, headers: { Location: '/feed.xml' } });
|
||||
}
|
||||
if (event.url.pathname === '/feed.xml') {
|
||||
const f = await fs.readFile('feed.xml', { encoding: 'utf8' });
|
||||
return new Response(
|
||||
|
Reference in New Issue
Block a user