diff --git a/app/srv/api/prod.ts b/app/srv/api/prod.ts index 268f3004..d62e765c 100644 --- a/app/srv/api/prod.ts +++ b/app/srv/api/prod.ts @@ -103,7 +103,7 @@ export const _ = { }, } ); - } catch (e: any) { + } catch () { try { let file = Bun.file(build_old); @@ -116,7 +116,7 @@ export const _ = { }, } ); - } catch (e) { + } catch (e: any) { return new Response( ` console.error("Failed to load index.js")