deploy vercel1
This commit is contained in:
parent
c1f6212b08
commit
7b51c15531
|
@ -18,9 +18,7 @@ dotenv.config();
|
||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
|
|
||||||
// app.get("/", (req, res) => {
|
|
||||||
// res.send("Backend API is running 👍");
|
|
||||||
// });
|
|
||||||
|
|
||||||
|
|
||||||
// Middlewares
|
// Middlewares
|
||||||
|
@ -43,6 +41,10 @@ app.use("/api/rules_hama", ruleHamaRoutes);
|
||||||
app.use("/api/diagnosa", diagnosaRoute);
|
app.use("/api/diagnosa", diagnosaRoute);
|
||||||
app.use("/api/histori", historiRoutes);
|
app.use("/api/histori", historiRoutes);
|
||||||
|
|
||||||
|
app.get("/", (req, res) => {
|
||||||
|
res.send("Backend API is running 👍");
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
// Swagger Documentation
|
// Swagger Documentation
|
||||||
swaggerDocs(app); // Setup Swagger UI documentation
|
swaggerDocs(app); // Setup Swagger UI documentation
|
||||||
|
|
Loading…
Reference in New Issue