fix CORS issue

This commit is contained in:
AJ ONeal 2017-05-24 05:44:23 +00:00
parent 19ffff4fcd
commit 5ee8449af6
1 changed files with 1 additions and 0 deletions

View File

@ -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);