Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS request failed when using non standard port for webserver on Duet #98

Closed
whosrdaddy opened this issue Dec 27, 2018 · 1 comment
Closed

Comments

@whosrdaddy
Copy link
Contributor

whosrdaddy commented Dec 27, 2018

My Duet board is configured at port 21000, when I load the 2.0 GUI (RC2), it tries to connect to http://my IP/rr_connect?password=reprap which is obviously wrong because my printer is at http://my IP:21000.
Looking at the code, the fix should be easy, use location.host (which includes the portnumber) instead of location.hostname.

@chrishamm
Copy link
Collaborator

Thanks, it should be fixed in RC3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants