We’re developing our Ember app locally and tweaking how it responds to Slack.
When we make a request from Slack to our app, Ember CLI doesn’t render a response – it returns a 404 instead. We tracked this down to the fact that Slack doesn’t include an
Accept: text/html header in its request. (If we
curl our app without the header, we see the same thing, but if we add that one header, it responds correctly).
We think it’s due to this line in the
Is there a simple way to reconfigure this so that Ember CLI’s dev server can respond to requests that don’t have this header?