fix(config): ajouter préfixe web[.-] aux options config web

This commit is contained in:
Victor Lacasse-Beaudoin 2024-06-20 19:32:26 -04:00
parent e4ff1013d0
commit 929704c6ff

View file

@ -66,23 +66,23 @@ const (
DefaultWebPort int = 2312 DefaultWebPort int = 2312
DescriptionWebPort string = "Web client port" DescriptionWebPort string = "Web client port"
ViperWebAPIHost string = "api.host" ViperWebAPIHost string = "web.api.host"
FlagWebAPIHost string = "api-host" FlagWebAPIHost string = "web-api-host"
DefaultWebAPIHost string = "api" DefaultWebAPIHost string = "api"
DescriptionWebAPIHost string = "Target API server host" DescriptionWebAPIHost string = "Target API server host"
ViperWebAPIKey string = "api.key" ViperWebAPIKey string = "web.api.key"
FlagWebAPIKey string = "api-key" FlagWebAPIKey string = "web-api-key"
DefaultWebAPIKey string = "bottin" DefaultWebAPIKey string = "bottin"
DescriptionWebAPIKey string = "Target API server key" DescriptionWebAPIKey string = "Target API server key"
ViperWebAPIPort string = "api.port" ViperWebAPIPort string = "web.api.port"
FlagWebAPIPort string = "api-port" FlagWebAPIPort string = "web-api-port"
DefaultWebAPIPort int = 1312 DefaultWebAPIPort int = 1312
DescriptionWebAPIPort string = "Target API server port" DescriptionWebAPIPort string = "Target API server port"
ViperWebAPIProtocol string = "api.protocol" ViperWebAPIProtocol string = "web.api.protocol"
FlagWebAPIProtocol string = "api-protocol" FlagWebAPIProtocol string = "web-api-protocol"
DefaultWebAPIProtocol string = "http" DefaultWebAPIProtocol string = "http"
DescriptionWebAPIProtocol string = "Target API server protocol (http/https)" DescriptionWebAPIProtocol string = "Target API server protocol (http/https)"
) )