feat: upgrade to astro v3

Upgrade to astro v3. Update dependencies. Fix codes and features due to migration.

BREAKING CHANGE: Astro v3

resolve #111
This commit is contained in:
satnaing
2023-09-14 13:44:49 +06:30
committed by Sat Naing
parent 620446370d
commit e486687610
16 changed files with 2651 additions and 9191 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import getSortedPosts from "@utils/getSortedPosts";
import slugify from "@utils/slugify";
import { SITE } from "@config";
export async function get() {
export async function GET() {
const posts = await getCollection("blog");
const sortedPosts = getSortedPosts(posts);
return rss({