danieldafoe/is-my-train-delayed

CORS Error when refreshing from http://ismytraindelayed.today

Closed this issue · 2 comments

Since the domain-less ismytraindelayed.today really just redirects to is-my-train-delayed.herokuapp.com, there's a cross-origin issue.

Looking into solving this with an ExpressJS middleware function, but it hasn't worked in my testing so far.

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.