This commit is contained in:
2024-07-26 12:11:32 +05:00
parent 58246f7d5f
commit 648408afb0
-2
View File
@@ -7,7 +7,6 @@ import { fileURLToPath } from "url";
import connectDB from "./config/db.js";
import morgan from "morgan";
import unitsRoute from "./routes/unitsRoute.js";
// import updateApartmentsRoute from "./routes/updateApartmentsRoute.js";
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
@@ -28,7 +27,6 @@ app.use(json());
app.use(morgan("combined", { stream: accessLogStream }));
app.use("/units", unitsRoute);
// app.use("/update-apartments", updateApartmentsRoute);
app.listen(port, () => {
console.log(`Server is listening on port ${port}`);