diff options
| -rw-r--r-- | package-lock.json | 10 | ||||
| -rw-r--r-- | package.json | 2 | ||||
| -rw-r--r-- | pnpm-lock.yaml | 10 | ||||
| -rw-r--r-- | src/consts.ts | 2 | ||||
| -rw-r--r-- | src/pages/rss.xml.js | 2 |
5 files changed, 13 insertions, 13 deletions
diff --git a/package-lock.json b/package-lock.json index 530e594..242c8cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@astrojs/mdx": "^3.1.4", "@astrojs/react": "^3.6.2", - "@astrojs/rss": "^2.4.4", + "@astrojs/rss": "^4.0.7", "@astrojs/sitemap": "^2.0.2", "astro": "^4.14.5", "react": "^18.3.1", @@ -132,12 +132,12 @@ } }, "node_modules/@astrojs/rss": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/@astrojs/rss/-/rss-2.4.4.tgz", - "integrity": "sha512-HQFoHyHVoODyeyAFoVPej8OOZowiuXvB5AFIzY4AiPCdwlBz5JGpzW5vPARG/FCqAI9AS3Wi0sU/RZh3Cu8SWQ==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/@astrojs/rss/-/rss-4.0.7.tgz", + "integrity": "sha512-ZEG55XFB19l+DplUvBISmz04UbjDtKliRO4Y5+ERRhAMjgCVVobEBNE6ZwWG1h6orWUocy4nfPihKXDyB73x9g==", "license": "MIT", "dependencies": { - "fast-xml-parser": "^4.2.5", + "fast-xml-parser": "^4.4.0", "kleur": "^4.1.5" } }, diff --git a/package.json b/package.json index ff2940a..314e155 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/mdx": "^3.1.4", "@astrojs/react": "^3.6.2", - "@astrojs/rss": "^2.4.4", + "@astrojs/rss": "^4.0.7", "@astrojs/sitemap": "^2.0.2", "astro": "^4.14.5", "react": "^18.3.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d59d09a..3bce900 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,8 +15,8 @@ importers: specifier: ^3.6.2 version: 3.6.2(@types/react-dom@18.3.0)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vite@5.4.2) '@astrojs/rss': - specifier: ^2.4.4 - version: 2.4.4 + specifier: ^4.0.7 + version: 4.0.7 '@astrojs/sitemap': specifier: ^2.0.2 version: 2.0.2 @@ -71,8 +71,8 @@ packages: react: ^17.0.2 || ^18.0.0 || ^19.0.0-beta react-dom: ^17.0.2 || ^18.0.0 || ^19.0.0-beta - '@astrojs/rss@2.4.4': - resolution: {integrity: sha512-HQFoHyHVoODyeyAFoVPej8OOZowiuXvB5AFIzY4AiPCdwlBz5JGpzW5vPARG/FCqAI9AS3Wi0sU/RZh3Cu8SWQ==} + '@astrojs/rss@4.0.7': + resolution: {integrity: sha512-ZEG55XFB19l+DplUvBISmz04UbjDtKliRO4Y5+ERRhAMjgCVVobEBNE6ZwWG1h6orWUocy4nfPihKXDyB73x9g==} '@astrojs/sitemap@2.0.2': resolution: {integrity: sha512-dFWtdFwN8kxDiqIxF8T8ODqsUr6hG+EQlFEqm+3oQkhAkucF9QkYLM5Q72mEbYytkL4jvKyHbW1u10T5sWBZew==} @@ -1938,7 +1938,7 @@ snapshots: - supports-color - vite - '@astrojs/rss@2.4.4': + '@astrojs/rss@4.0.7': dependencies: fast-xml-parser: 4.4.1 kleur: 4.1.5 diff --git a/src/consts.ts b/src/consts.ts index 2c0f60e..d5cf8d3 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -2,4 +2,4 @@ // You can import this data from anywhere in your site by using the `import` keyword. export const SITE_TITLE = "pinapelz's blog"; -export const SITE_DESCRIPTION = 'Welcome to Pinapelz\'s Blog!'; +export const SITE_DESCRIPTION = 'A lot of rambling about a bunch of random things, both technical and non-technical.'; diff --git a/src/pages/rss.xml.js b/src/pages/rss.xml.js index 9041051..6fed721 100644 --- a/src/pages/rss.xml.js +++ b/src/pages/rss.xml.js @@ -2,7 +2,7 @@ import rss from '@astrojs/rss'; import { getCollection } from 'astro:content'; import { SITE_TITLE, SITE_DESCRIPTION } from '../consts'; -export async function get(context) { +export async function GET(context) { const posts = await getCollection('blog'); posts.sort((a, b) => new Date(b.data.pubDate).getTime() - new Date(a.data.pubDate).getTime()); return rss({ |
