Skip to content

Commit

Permalink
fix: fix server.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kawarimidoll committed Aug 14, 2021
1 parent 42af564 commit 32f8824
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ sift({
return json({ message: "could not process the data." }, { status: 400 });
}

console.log(JSON.stringify(body));

if (request.method === "GET") {
return json({
message:
Expand Down Expand Up @@ -158,7 +156,7 @@ sift({

try {
const rawConfig = decodeConfig(item.config);
rawConfig.name = name;
rawConfig.name ||= name;
console.log({ rawConfig });
const html = renderHtml(rawConfig, true);
return new Response(html, { headers: { "content-type": "text/html" } });
Expand Down

0 comments on commit 32f8824

Please sign in to comment.