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

using alternative port does not work, hardcoded server check on 8080 #34

Closed
designer2k2 opened this issue Feb 25, 2022 · 6 comments
Closed

Comments

@designer2k2
Copy link

Hello,
i need to use a different port as the default 8080, with the -p option i changed it to 8081.
But that results in a blocked surface due to the function check_server_status() beeing hardcoded to 8080:

img.src = "http://127.0.0.1:8080/web/favicon.ico?" + Date.now();

Browser console:
grafik

@leoheck
Copy link
Owner

leoheck commented Feb 25, 2022

Ah, good catch. I will fix this. Which Operating System are you using?

@designer2k2
Copy link
Author

Windows 10 with the WSL setup as instructed here

@leoheck
Copy link
Owner

leoheck commented Feb 25, 2022

Hey buddy, I pushed some fixes. Could you try to run it again? The fix is not perfect but it may work for your case.

@leoheck
Copy link
Owner

leoheck commented Feb 25, 2022

If it works, please, close this issue then.

@designer2k2
Copy link
Author

It works now!
Thanks for the quick fix.

@leoheck
Copy link
Owner

leoheck commented Feb 26, 2022

Nice! Awesome.

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