feat: Testing fluentd logging driver
This commit is contained in:
10
src/routes/logs.json.ts
Normal file
10
src/routes/logs.json.ts
Normal 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: {}
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user