From 8f97f7dd1b4bc2ddced9b79d58849b61be3e8327 Mon Sep 17 00:00:00 2001 From: tycrek Date: Fri, 2 Jul 2021 14:55:06 -0600 Subject: [PATCH] DS fix --- ass.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ass.js b/ass.js index f27c90d..cf3a404 100755 --- a/ass.js +++ b/ass.js @@ -97,7 +97,7 @@ function startup() { // Assign routers ('/:resouceId' always needs to be LAST since it's a catch-all route) app.use('/', ROUTERS.upload); - ASS_PREMIUM.enabled && app.use(ASS_PREMIUM.endpoint, ASS_PREMIUM.router); + ASS_PREMIUM.enabled && app.use(ASS_PREMIUM.endpoint, ASS_PREMIUM.router); // skipcq: JS-0093 app.use('/:resourceId', (req, _, next) => (req.resourceId = req.params.resourceId, next()), ROUTERS.resource); // skipcq: JS-0086, JS-0090 // Error handler