mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-15 07:55:41 +00:00
Ryan Freeman
c963803320
All checks were successful
Build And Publish / BuildAndPublish (push) Successful in 2m44s
8 lines
211 B
TypeScript
8 lines
211 B
TypeScript
import {getAllArticles} from '@/lib/getAllArticles'
|
|
|
|
export async function GET(request: Request) {
|
|
const articles = await getAllArticles()
|
|
|
|
return new Response(JSON.stringify(articles), {status: 200})
|
|
}
|