add: Preparation for external posts
Preparation for external blog posts
This commit is contained in:
parent
d6859cdaad
commit
427d9ae276
7 changed files with 435 additions and 47 deletions
6
server/api/external-posts.post.ts
Normal file
6
server/api/external-posts.post.ts
Normal 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()
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue