-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Handle ngrok vs livereload #3882
Comments
I'm experiencing the same problem with a local HTTPS proxy in front of hugo. I have started the dev server with
I would expect the websocket URL in this case to be to be |
Thinking out loud I think that making I put this in the 0.28 release because I kind of need this myself, so a quick feedback in the form of "yea, that sounds good" would be nice. |
Yep, I would expect the This actually looks like a regression bug looking at some older issues like #1406 |
Yea, I think the port was added at some point -- which kind of solved one problem, but broke another. Let us just call it an Enhancement, to boost my motivation for fixing it, and it looks better in the release notes ... |
Give me a shout if/when you want me to test it out. |
@moomerman I have committed a fix for this. My original plan just didn't work, so I added a new flag. |
@bep thanks very much! can confirm this works perfectly with a local HTTPS proxy - also didn't know about the Have only been using hugo for a couple of days but very happy with what I've been able to produce with it, thanks! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Using ngrok with livereload and Hugo is pretty cool, but right now the port handling does not support that.
I have tested with just hard coding 443 in the livereload handler setup, and that works. We should think about how to do this properly.
Suggestions welcome.
appendPort
which can be used to remove 1313 from the URL (but it does not remove from the livereload interaction)port
, but that is the listener port@digitalcraftsman @moorereason suggestions?
https://ngrok.com/
The text was updated successfully, but these errors were encountered: