Skip to content

Commit 0026559

Browse files
authored
Merge branch hotfix/3.0.1 into develop
Merge branch hotfix/3.0.1 into develop
2 parents 7098981 + 7992e87 commit 0026559

File tree

5 files changed

+20
-5
lines changed

5 files changed

+20
-5
lines changed

.changes/v3.0.1.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## [v3.0.1](https://github.com/ansidev/leetcode-blog/compare/v3.0.0...v3.0.1) (2025-05-01)
2+
3+
### Bug Fixes
4+
5+
- error while rendering page `/rss.xml`
6+
7+
Full Changelog: [v3.0.0...v3.0.1](https://github.com/ansidev/leetcode-blog/compare/v3.0.0...v3.0.1)

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
66

7+
## [v3.0.1](https://github.com/ansidev/leetcode-blog/compare/v3.0.0...v3.0.1) (2025-05-01)
8+
9+
### Bug Fixes
10+
11+
- error while rendering page `/rss.xml`
12+
13+
Full Changelog: [v3.0.0...v3.0.1](https://github.com/ansidev/leetcode-blog/compare/v3.0.0...v3.0.1)
14+
715
## [v3.0.0](https://github.com/ansidev/leetcode-blog/compare/v2.2.7...v3.0.0) (2025-05-01)
816

917
### Bug Fixes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "leetcode-blog",
33
"description": "Solutions for LeetCode problems - Written by ansidev",
44
"type": "module",
5-
"version": "3.0.0",
5+
"version": "3.0.1",
66
"license": "MIT",
77
"packageManager": "[email protected]",
88
"scripts": {

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)