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
Hi there! Thanks for the great tool, was delighted when Max told me this existed :)
I've run it on my digitalocean droplet, but I'd like to use it for sites on Github Pages. When I try to make a fetch request for it, I get a CORS error:
Cross-origin redirection to https://server-ip-address/my-path denied by Cross-Origin Resource Sharing policy: Origin http://localhost:3002 is not allowed by Access-Control-Allow-Origin.
It looks like a PR was opened last year, #17, which fixed this by adding the right header. Looking through the current source, though, I don't see that header being sent. Was it intentionally removed? If so, is there a way to specify allowed origins that I'm missing?
Happy to open a quick PR if necessary!
The text was updated successfully, but these errors were encountered:
Ah-ha! Figured it out, I wasn't specifying the port in server-ip-address. Without the port it was trying to access the server's main page, which is HTTPS, and that redirection was failing.
Hi there! Thanks for the great tool, was delighted when Max told me this existed :)
I've run it on my digitalocean droplet, but I'd like to use it for sites on Github Pages. When I try to make a
fetch
request for it, I get a CORS error:Cross-origin redirection to https://server-ip-address/my-path denied by Cross-Origin Resource Sharing policy: Origin http://localhost:3002 is not allowed by Access-Control-Allow-Origin.
It looks like a PR was opened last year, #17, which fixed this by adding the right header. Looking through the current source, though, I don't see that header being sent. Was it intentionally removed? If so, is there a way to specify allowed origins that I'm missing?
Happy to open a quick PR if necessary!
The text was updated successfully, but these errors were encountered: