Skip to content

Commit

Permalink
refactor: use http instead of websocket in shell by default
Browse files Browse the repository at this point in the history
  • Loading branch information
thilinajayanath-alteos committed Nov 10, 2024
1 parent 436da95 commit 223af0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/cmd/db_shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ func init() {
}

func getURL(db *turso.Database, client *turso.Client, http bool) (string, error) {
scheme := "wss"
if http {
scheme = "https"
scheme := "https"
if !http {
scheme = "wss"
}

if instanceFlag == "" && locationFlag == "" {
Expand Down

0 comments on commit 223af0a

Please sign in to comment.