diff --git a/mod.ts b/mod.ts index c30837e..743e966 100644 --- a/mod.ts +++ b/mod.ts @@ -29,7 +29,6 @@ Deno.serve({ port: config.api.port }, async (req) => { let rawPath = (urlPath.split('api')[1] ?? '').trim(); if (rawPath.endsWith('/')) rawPath = rawPath.slice(0, -1); const path = rawPath; - console.log(urlPath, path); let failed = false; if (req.method === 'GET') { diff --git a/ssr/buildHome.ts b/ssr/buildHome.ts index 268d8e4..d337ee9 100644 --- a/ssr/buildHome.ts +++ b/ssr/buildHome.ts @@ -21,7 +21,6 @@ export default async (userId: string, userName: string) => { const plans: Plan[] = await dbClient .query('SELECT id, name, folder FROM plans WHERE ownerId = ? AND deleted = 0 GROUP BY folder,name,id ORDER BY folder ASC,name ASC', [userId]) .catch((e) => { - console.error(e); failed = true; }); if (failed) return "Couldn't read DB.";