diff --git a/src/dockerproxy.js b/src/dockerproxy.js index 25cf61ae6..3c1de80f7 100644 --- a/src/dockerproxy.js +++ b/src/dockerproxy.js @@ -31,7 +31,7 @@ async function authorizeApp(req, res, next) { const [error, app] = await safe(apps.getByIpAddress(req.connection.remoteAddress)); if (error) return next(new HttpError(500, error)); if (!app) return next(new HttpError(401, 'Unauthorized')); - if (app.manifest.addons?.docker) return next(new HttpError(401, 'Unauthorized')); + if (!app.manifest.addons?.docker) return next(new HttpError(401, 'Unauthorized')); req.app = app;