This repository has been archived on 2025-03-28. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coryd.dev-eleventy/api/scrobble.js
Cory Dransfeldt 23f3bc47e7
chore: debug
2024-03-28 14:57:56 -07:00

15 lines
No EOL
319 B
JavaScript

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