Skip to content

Commit fe344e6

Browse files
authored
Merge pull request #1076 from ansidev/hotfix/3.0.1
Hotfix v3.0.1
2 parents d2b4caf + 27b2166 commit fe344e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/pages/rss.xml.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import rss from '@astrojs/rss'
22
import type { APIContext } from 'astro'
33
import { getCollection } from 'astro:content'
44

5-
import siteConfig from '@/configs/site'
5+
import siteConfig from '@/configs/site.ts'
66

77
const { title, description } = siteConfig
88

9-
export const get = async ({ site }: APIContext) => {
9+
export const GET = async ({ site }: APIContext) => {
1010
if (site === undefined || site.toString().length === 0) {
1111
return {
1212
body: ''

tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"extends": "astro/tsconfigs/strictest",
33
"compilerOptions": {
4-
"module": "Node16",
5-
"moduleResolution": "Node16",
4+
"module": "NodeNext",
5+
"moduleResolution": "NodeNext",
66
"strict": true,
77
"verbatimModuleSyntax": true,
88
"baseUrl": ".",

0 commit comments

Comments
 (0)