@samselikoff wrote:
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 wecurl
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
history-support
middleware: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?
Posts: 1
Participants: 1