Skip to content

Commit

Permalink
Change root
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewstech authored Feb 2, 2024
1 parent 98e0a07 commit d0393eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/webServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ function keepAlive(client) {
server.set("view engine", "ejs");
server.use(cors());

server.get("/", async (req, res) => {
res.send("bot")
});

server.get("/login", async (req, res) => {
const domain = process.env.DOMAIN;
const GITHUB_ID = process.env.GITHUB_ID;
Expand Down

0 comments on commit d0393eb

Please sign in to comment.