add: Preparation for external posts

Preparation for external blog posts
This commit is contained in:
webfussel 2025-07-10 10:02:18 +02:00
parent d6859cdaad
commit 427d9ae276
7 changed files with 435 additions and 47 deletions

View file

@ -0,0 +1,6 @@
import type { ExternalPost } from '../../shared/types/Blog'
export default defineEventHandler(async () => {
// Robert
const webertoireResponse: ExternalPost = await (await fetch('https://robertjanus.de/blog.json')).json()
})