From 29ae625ff0795d4efec128616714e14b1788ecf9 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 12 Jan 2023 15:39:19 -0800 Subject: bun and elysia --- index.js | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'index.js') diff --git a/index.js b/index.js index 580435e0..f3eb26b5 100644 --- a/index.js +++ b/index.js @@ -1,24 +1,24 @@ -import app from "./app"; -import { l, err } from "./lib/logging"; +import app from "app"; +// import { l, err } from "./lib/logging"; -import "./lib/redis"; -import "./lib/sockets"; -import "./lib/passport"; -import "./lib/upload"; -import "./lib/rates"; -import "./lib/notifications"; -import "./lib/mail"; -import "./lib/nostr"; +import "lib/redis"; +// import "lib/sockets"; +import "lib/passport"; +// import "lib/upload"; +import "lib/rates"; +import "lib/notifications"; +import "lib/mail"; +import "lib/nostr"; -import "./routes/locations"; -import "./routes/invoices"; -import "./routes/payments"; -import "./routes/users"; -import "./routes/requests"; +import "routes/locations"; +import "routes/invoices"; +import "routes/payments"; +import "routes/users"; +import "routes/requests"; let host = process.env.HOST || "0.0.0.0"; let port = process.env.PORT || 3119; app.listen({ host, port }, (e, h) => { - if (e) return err("Failed to start:", e.message); + // if (e) return err("Failed to start:", e.message); }); -- cgit v1.2.3