Skip to content

Commit

Permalink
api & client fixup for new Riot API endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
MELVARDEV committed Jul 1, 2024
1 parent e26b14c commit 6472819
Show file tree
Hide file tree
Showing 7 changed files with 922 additions and 508 deletions.
6 changes: 5 additions & 1 deletion API/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ const riotRoute = require("./routes/Riot");
// use routes
app.use("/riot", riotRoute);

// healthcheck route
app.get("/healthcheck", (req, res) => {
res.send("OK");
});


const port = process.env.PORT || 8080;
app.listen(port, () => {
console.log(`nodejs: listening on port ${port}`);
console.log(`nodejs: app listening on port ${port}`);
});
Loading

0 comments on commit 6472819

Please sign in to comment.