Skip to content

Commit

Permalink
Use an owned domain as the default server target #2
Browse files Browse the repository at this point in the history
Use an own domain as the default server target
  • Loading branch information
smallwat3r authored Dec 13, 2022
2 parents 4ef93ef + 0015041 commit 3654ce9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import (
)

var (
shhhVersion = "1.3.1"
shhhCLIVersion = "1.3.2"
)

// Create mode
Expand All @@ -64,7 +64,7 @@ const (
)

func version() {
fmt.Printf("shhh-cli version %s\n\n", shhhVersion)
fmt.Printf("shhh-cli version %s\n\n", shhhCLIVersion)
}

func usageCreate() string {
Expand Down Expand Up @@ -376,7 +376,7 @@ func getTargetServer(server string) string {
}
// Default Shhh server target if none specified nor in env or params
if target == "" {
return "https://shhh-encrypt.herokuapp.com/api/secret"
return "https://www.shhh-encrypt/api/secret"
}
if !isUrl(target) {
fmt.Fprintf(
Expand Down

0 comments on commit 3654ce9

Please sign in to comment.