diff --git a/lib/main.js b/lib/main.js index 67f46bf..6cbca02 100644 --- a/lib/main.js +++ b/lib/main.js @@ -317,6 +317,7 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps, errorIfApi ], methods: [ "GET", "POST", "PATCH", "PUT", "DELETE" ] }); } cors(req, res, apiApp); + return; } apiApp(req, res, next);