constants rather than CONSTANTS + rename variables

pull/2/head
notashelf 3 years ago
parent be014f7d62
commit e4f841e9b0
No known key found for this signature in database
GPG Key ID: C800E8AA68FA205E

@ -8,11 +8,12 @@ import flash from 'connect-flash'
import errorHandler from "errorhandler" import errorHandler from "errorhandler"
import { Pager } from "./Pager" import { Pager } from "./Pager"
import { TEMPLATE } from "./CONSTANTS" import { TEMPLATE } from "./constants"
import { authRoutes } from "./routes/route.auth" import { authRoutes } from "./routes/route.auth"
import { publicRoutes } from "./routes/route.public" import { publicRoutes } from "./routes/route.public"
import { userRoutes } from "./routes/route.user" import { userRoutes } from "./routes/route.user"
import { adminRoutes } from "./routes/route.admin" import { adminRoutes } from "./routes/route.admin"
import { PORT } from "./constants"
// Add async into express cause async is megachad // Add async into express cause async is megachad
const app = express() const app = express()

Loading…
Cancel
Save