Project name: oilbot
i use An idiot’s guide’s web dashboard on my bot, so if i add this code to my project
const express = require(“express”)
const expressApp = express()
expressApp.get("/", (req, res) => res.json(“OK”))
expressApp.listen(process.env.PORT)
my bot and dashboard throws errors and dashboard gets broken. how could i prevent that issue?
(i know projects restart after 12 hours, also my bot’s main website (aka dashboard) is pinged by uptimerobot. Please help me…