Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

login: Malformed login URL arg breaks login, sh and sync #53

Closed
@Russtopia

Description

@Russtopia

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 and coder sync ops work.

Recommend adding logic to prepend http:// if not specified by the user.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions