From e4f841e9b060bc4810cddb5826ff638ec21e9639 Mon Sep 17 00:00:00 2001 From: notashelf Date: Mon, 4 Apr 2022 20:05:44 +0300 Subject: [PATCH] constants rather than CONSTANTS + rename variables --- src/dashboard.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dashboard.ts b/src/dashboard.ts index 7a27e2e..4cc4a87 100644 --- a/src/dashboard.ts +++ b/src/dashboard.ts @@ -8,11 +8,12 @@ import flash from 'connect-flash' import errorHandler from "errorhandler" import { Pager } from "./Pager" -import { TEMPLATE } from "./CONSTANTS" +import { TEMPLATE } from "./constants" import { authRoutes } from "./routes/route.auth" import { publicRoutes } from "./routes/route.public" import { userRoutes } from "./routes/route.user" import { adminRoutes } from "./routes/route.admin" +import { PORT } from "./constants" // Add async into express cause async is megachad const app = express()