Skip to content

Commit

Permalink
Fix RSS feed
Browse files Browse the repository at this point in the history
Closes #53
  • Loading branch information
reneklacan committed Feb 9, 2024
1 parent a140d1e commit d0a404e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/rss.xml.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
export const prerender = false

import type { APIRoute } from "astro"

export const get: APIRoute = async ({ request }) => {
export async function GET() {
const response = await fetch(`https://api.stormgateworld.com/rss.xml`)
const code = response.status
const feed = await response.text()
Expand Down

0 comments on commit d0a404e

Please sign in to comment.