From e563f12551078cb092e7c2133f27f8059899bb5a Mon Sep 17 00:00:00 2001 From: 0xngmi <0xngmi@protonmail.com> Date: Mon, 10 Jun 2024 19:28:01 +0100 Subject: [PATCH] delete dead code --- api2/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/api2/index.ts b/api2/index.ts index c4ea4ce..8abb9a6 100644 --- a/api2/index.ts +++ b/api2/index.ts @@ -8,8 +8,6 @@ const webserver = new HyperExpress.Server() const port = +(process.env.PORT ?? 5001) -// if (!process.env.API2_SUBPATH) throw new Error('Missing API2_SUBPATH env var') - async function main() { console.time('Api Server init') webserver.use((_req, res, next) => {