mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-15 02:55:42 +00:00
8 lines
216 B
TypeScript
8 lines
216 B
TypeScript
|
import {getAllArticles} from '@/lib/getAllArticles'
|
||
|
|
||
|
export async function GET(request: Request) {
|
||
|
const articles = await getAllArticles(false)
|
||
|
|
||
|
return new Response(JSON.stringify(articles), {status: 200})
|
||
|
}
|