Skip to content

Commit

Permalink
Use uppercase GET
Browse files Browse the repository at this point in the history
  • Loading branch information
narze committed Jan 3, 2024
1 parent 40cbd15 commit 1c442d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/feed.xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getCollection } from "astro:content"
import { SITE_TITLE, SITE_DESCRIPTION } from "../consts"
import type { APIRoute } from "astro"

export const get: APIRoute = async (context) => {
export const GET: APIRoute = async (context) => {
const entries = (
await getCollection("second-brain", ({ data }) => {
return data.draft !== true && data.no_feed !== true
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.xml.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { get } from "./feed.xml"
export { GET } from "./feed.xml"

0 comments on commit 1c442d0

Please sign in to comment.