15 lines
No EOL
319 B
JavaScript
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",
|
|
} |