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
{{ message }}
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
I think it'd be better to have them specify a full URI, since it could be https and they may not have redirects setup.
Sorry, didn't see this until after I merged, but that's what I ended up doing. It doesn't try to fix up the incomplete URI -- it rejects and and the help/usage is updated to show an example. I can improve on it more if you think it should be more explicit.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As a naive user I tried
coder login localhost:8080
coder login master.cdr.dev
The browser auto-launch of the login URL is malformed in the above cases (and the text on terminal if autolaunch fails)
If I specify the full URL eg.
coder login http://localhost:8080
the URL generated is correct, and subsequent
coder sh
andcoder sync
ops work.Recommend adding logic to prepend
http://
if not specified by the user.The text was updated successfully, but these errors were encountered: