mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 14:28:56 +00:00
Minor changes
This commit is contained in:
@@ -2,7 +2,6 @@ package cmd
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"net/url"
|
||||
|
||||
"github.com/Infisical/infisical-merge/packages/config"
|
||||
@@ -223,7 +222,7 @@ func NewDomainPrompt() (string, error) {
|
||||
domainPrompt := promptui.Prompt{
|
||||
Label: "New Domain",
|
||||
Validate: urlValidation,
|
||||
Default: "Example - https://my-domain-example.com",
|
||||
Default: "Example - https://my-self-hosted-instance.com/api",
|
||||
}
|
||||
|
||||
domain, err := domainPrompt.Run()
|
||||
@@ -231,8 +230,6 @@ func NewDomainPrompt() (string, error) {
|
||||
return "", err
|
||||
}
|
||||
|
||||
domain = fmt.Sprintf("%s/api", domain)
|
||||
|
||||
return domain, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user