Skip to content

Commit

Permalink
[ADD] application/json header
Browse files Browse the repository at this point in the history
  • Loading branch information
XK4MiLX authored Feb 15, 2024
1 parent df2f515 commit 4a837e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ZelBack/src/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,11 @@ module.exports = (app, expressWs) => {
generalService.whitelistedRepositories(req, res);
});
app.post('/apps/verifyappregistrationspecifications', (req, res) => { // returns formatted app specifications
res.setHeader('Content-Type', 'application/json');
appsService.verifyAppRegistrationParameters(req, res);
});
app.post('/apps/verifyappupdatespecifications', (req, res) => { // returns formatted app specifications
res.setHeader('Content-Type', 'application/json');
appsService.verifyAppUpdateParameters(req, res);
});
app.get('/apps/deploymentinformation', cache('30 seconds'), (req, res) => {
Expand Down

0 comments on commit 4a837e2

Please sign in to comment.