upd
This commit is contained in:
@@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user