This repository has been archived on 2025-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
coryd.dev-eleventy/api/debug.js
Cory Dransfeldt 688e7de17c
chore: debug
2024-04-02 11:30:34 -07:00

14 lines
No EOL
274 B
JavaScript

export default async (context, request) => {
console.log(context)
console.log(request)
return new Response(JSON.stringify({
status: 'success',
}),
{ headers: { "Content-Type": "application/json" } }
)
}
export const config = {
path: '/api/debug',
}