From d648555af18aa50466af4f1f8215a83fa453c484 Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Fri, 7 Jul 2023 16:39:41 +0100 Subject: [PATCH] Change answer variable to api domains --- cmd/orchid/setup.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/orchid/setup.go b/cmd/orchid/setup.go index 5410bdd..acb6fab 100644 --- a/cmd/orchid/setup.go +++ b/cmd/orchid/setup.go @@ -57,7 +57,7 @@ func (s *setupCmd) Execute(ctx context.Context, f *flag.FlagSet, args ...interfa var answers struct { ApiListen string - FirstDomains string + ApiDomains string AcmeRefresh string AcmePresentUrl string AcmeCleanUpUrl string @@ -154,7 +154,7 @@ func (s *setupCmd) Execute(ctx context.Context, f *flag.FlagSet, args ...interfa Directory: "production", Certificate: "default", }, - Domains: strings.Split(answers.FirstDomains, ","), + Domains: strings.Split(answers.ApiDomains, ","), }) if err != nil { fmt.Println("[Orchid] Failed to write config file: ", err)