👷🏽 Workerizing the import algorithm

This commit is contained in:
2021-04-23 13:18:18 -07:00
parent ecc05b09de
commit a1418c55c4
3 changed files with 9 additions and 17 deletions

View File

@@ -30,7 +30,7 @@ router.route("/getComicCovers").post(async (req: Request, res: Response) => {
});
});
router.route("/walkFolder").get(async (req: Request, res: Response) => {
router.route("/walkFolder").post(async (req: Request, res: Response) => {
const basePathToWalk =
typeof req.query.basePathToWalk === "string"
? req.query.basePathToWalk