Skip to content

Commit

Permalink
Added mock-backend support for new api endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ajchili committed Aug 22, 2019
1 parent 690ad62 commit 06c3a7b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/mock-backend/mock-api-middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,10 @@ export default (app: express.Application) => {
}, 300);
});

app.get('/visualizations/allowed', (req, res) => {
res.send(true);
});

app.all(v1beta1Prefix + '*', (req, res) => {
res.status(404).send('Bad request endpoint.');
});
Expand Down

0 comments on commit 06c3a7b

Please sign in to comment.