Yesod catchall route
问题 I'm building a yesod app which consists of two parts. The rest api (yesod) and the client side (angularjs). Besides being a rest api, yesod also send the initial html to the client to start up angularjs. I have it working like this: config/routes: /user GET /someOtherEntity GET POST / HomeR GET --route to send the html Handler/Home.hs getHomeR :: Handler Html getHomeR = sendFile typeHtml "frontend/build/index.html" As long as the first url is www.mydomain.com/ this works fine, but when I go