File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ import rss from '@astrojs/rss'
2
2
import type { APIContext } from 'astro'
3
3
import { getCollection } from 'astro:content'
4
4
5
- import siteConfig from '@/configs/site'
5
+ import siteConfig from '@/configs/site.ts '
6
6
7
7
const { title, description } = siteConfig
8
8
9
- export const get = async ( { site } : APIContext ) => {
9
+ export const GET = async ( { site } : APIContext ) => {
10
10
if ( site === undefined || site . toString ( ) . length === 0 ) {
11
11
return {
12
12
body : ''
Original file line number Diff line number Diff line change 1
1
{
2
2
"extends" : " astro/tsconfigs/strictest" ,
3
3
"compilerOptions" : {
4
- "module" : " Node16 " ,
5
- "moduleResolution" : " Node16 " ,
4
+ "module" : " NodeNext " ,
5
+ "moduleResolution" : " NodeNext " ,
6
6
"strict" : true ,
7
7
"verbatimModuleSyntax" : true ,
8
8
"baseUrl" : " ." ,
You can’t perform that action at this time.
0 commit comments