feat: Testing fluentd logging driver

This commit is contained in:
Andras Bacsai
2022-04-20 00:20:37 +02:00
parent 2b28f8bd8f
commit 3ab6a231eb
4 changed files with 42 additions and 1 deletions

10
src/routes/logs.json.ts Normal file
View File

@@ -0,0 +1,10 @@
import type { RequestHandler } from '@sveltejs/kit';
export const post: RequestHandler = async (event) => {
const data = await event.request.json();
console.log(data);
return {
status: 200,
body: {}
};
};