fix
This commit is contained in:
parent
6595e85b98
commit
15c0ef6977
|
|
@ -1,4 +1,4 @@
|
|||
FROM oven/bun:latest as base
|
||||
FROM oven/bun:1.1.13 as base
|
||||
WORKDIR /app/prasi
|
||||
|
||||
RUN apt-get update
|
||||
|
|
|
|||
|
|
@ -25,9 +25,6 @@ export const serveAPI = async (url: URL, req: Request) => {
|
|||
try {
|
||||
const json = await req.json();
|
||||
|
||||
if (req.method === 'POST') {
|
||||
console.log(req.method, found.raw, json);
|
||||
}
|
||||
|
||||
if (typeof json === "object") {
|
||||
if (Array.isArray(json)) {
|
||||
|
|
@ -50,6 +47,7 @@ export const serveAPI = async (url: URL, req: Request) => {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
} catch (e) { }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue