Added multiple routes for /api/stash

This commit is contained in:
Dunemask 2021-08-05 21:47:17 -06:00
parent 122f722ff6
commit 353743a67a

View file

@ -22,7 +22,7 @@ app.use(bearerToken());
app.use(bodyParser.json({ limit: Server.BodyLimit })); // parse application/json
app.use(bodyParser.urlencoded({ limit: Server.BodyLimit, extended: false })); // parse application/x-www-form-urlencoded
//Test if there is a
app.use("/api/stash", stashRouter);
app.use(["/api/nubian/stash", "/api/stash", "/stash"], stashRouter);
const startServer = () => {
server = app.listen(port, () => {
console.log("Node version:" + process.versions.node);