This commit is contained in:
Rizky 2024-06-20 12:19:53 +07:00
parent 6595e85b98
commit 15c0ef6977
2 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM oven/bun:latest as base FROM oven/bun:1.1.13 as base
WORKDIR /app/prasi WORKDIR /app/prasi
RUN apt-get update RUN apt-get update

View File

@ -25,9 +25,6 @@ export const serveAPI = async (url: URL, req: Request) => {
try { try {
const json = await req.json(); const json = await req.json();
if (req.method === 'POST') {
console.log(req.method, found.raw, json);
}
if (typeof json === "object") { if (typeof json === "object") {
if (Array.isArray(json)) { if (Array.isArray(json)) {
@ -50,6 +47,7 @@ export const serveAPI = async (url: URL, req: Request) => {
} }
} }
} }
} catch (e) { } } catch (e) { }
} }
} }