Add basic api endpoint

This commit is contained in:
Owen Schwartz
2024-09-28 12:35:07 -04:00
parent 8308df1f49
commit 584a4f28dc
2 changed files with 29 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
import { Router } from "express";
import { getConfig } from "./getConfig";
const badger = Router();
@@ -6,4 +7,6 @@ badger.get("/", (_, res) => {
res.status(200).json({ message: "Healthy" });
});
badger.get("/getConfig", getConfig);
export default badger;