Skip to content

Commit

Permalink
Fix for bots
Browse files Browse the repository at this point in the history
  • Loading branch information
rbjarnason committed Jan 17, 2020
1 parent 99a6ded commit 8b117f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server_api/controllers/nonSpa.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,8 @@ router.get('/*', function botController(req, res, next) {
log.error("Cant find controller for nonSpa", { id, splitUrl });
res.sendStatus(404);
}
} else if (req.ypCommunity) {
sendCommunity(req.ypCommunity.id, req, res)
} else if (req.ypDomain) {
sendDomain(req.ypDomain.id, req, res)
} else {
Expand Down

0 comments on commit 8b117f0

Please sign in to comment.