fixing issues with the routes and now getting more things flowing

This commit is contained in:
talksik
2022-05-06 06:37:07 -05:00
parent 0b65395af6
commit 7dc7fa39cd
4 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ app.get("/", (req: Request, res: Response) => {
res.send("hello world.");
});
app.use("/api", (req: Request, res: Response) => {
app.use("/api/status", (req: Request, res: Response) => {
res.json(new NirvanaResponse("wohoo, server is healthy"));
});