From 929704c6ff25c9fc0bd4a16f9fbf36f79674dff5 Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Thu, 20 Jun 2024 19:32:26 -0400 Subject: [PATCH] =?UTF-8?q?fix(config):=20ajouter=20pr=C3=A9fixe=20web[.-]?= =?UTF-8?q?=20aux=20options=20config=20web?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/config.go b/config.go index d50e241..3096960 100644 --- a/config.go +++ b/config.go @@ -66,23 +66,23 @@ const ( DefaultWebPort int = 2312 DescriptionWebPort string = "Web client port" - ViperWebAPIHost string = "api.host" - FlagWebAPIHost string = "api-host" + ViperWebAPIHost string = "web.api.host" + FlagWebAPIHost string = "web-api-host" DefaultWebAPIHost string = "api" DescriptionWebAPIHost string = "Target API server host" - ViperWebAPIKey string = "api.key" - FlagWebAPIKey string = "api-key" + ViperWebAPIKey string = "web.api.key" + FlagWebAPIKey string = "web-api-key" DefaultWebAPIKey string = "bottin" DescriptionWebAPIKey string = "Target API server key" - ViperWebAPIPort string = "api.port" - FlagWebAPIPort string = "api-port" + ViperWebAPIPort string = "web.api.port" + FlagWebAPIPort string = "web-api-port" DefaultWebAPIPort int = 1312 DescriptionWebAPIPort string = "Target API server port" - ViperWebAPIProtocol string = "api.protocol" - FlagWebAPIProtocol string = "api-protocol" + ViperWebAPIProtocol string = "web.api.protocol" + FlagWebAPIProtocol string = "web-api-protocol" DefaultWebAPIProtocol string = "http" DescriptionWebAPIProtocol string = "Target API server protocol (http/https)" )