You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeMyAPI="run":>Post '[JSON] ():<|>Rawserver::ServerMyAPI
server = liftIO runJob :<|> serveDirectory "static"
doing a GET request to /run will result in a 404 instead of the desired 405.
I assume this is because we try handlers in order until we get something different from 4xx. I'm also not sure what's the right way to fix this, so I'm mainly leaving this here to get more input.