We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d6b2bb commit 939fac4Copy full SHA for 939fac4
1 file changed
server.js
@@ -1,13 +1,14 @@
1
import app from "./src/app.js";
2
import { PORT } from "./src/config/config.js";
3
-
+import { startSelfPing } from "./src/helpers/self-ping.js";
4
import { connectDB } from "./src/config/db.js";
5
6
const startServer = () => {
7
app.listen(PORT, () => {
8
console.log(`Server is running on port ${PORT}`);
9
connectDB();
10
11
+ startSelfPing();
12
// startCronJob();
13
});
14
};
0 commit comments