CORS Error when refreshing from http://ismytraindelayed.today
Closed this issue · 2 comments
danieldafoe commented
Since the domain-less ismytraindelayed.today really just redirects to is-my-train-delayed.herokuapp.com, there's a cross-origin issue.
danieldafoe commented
Looking into solving this with an ExpressJS middleware function, but it hasn't worked in my testing so far.
emctague commented
Hello @danieldafoe, I have found what I believe is a solution to this bug. I can submit a pull request containing the change, if you would like.