From c4867dad3256586d570f702d7afdf92fca6ab84a Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Thu, 21 Dec 2023 11:18:46 +0530 Subject: server.go : declared but not used --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 59d725b..074abd9 100644 --- a/server.go +++ b/server.go @@ -26,7 +26,7 @@ func main() { port = defaultPort } - domain, apiEndpointUrl := os.Getenv("DOMAIN") + domain := os.Getenv("DOMAIN") api_endpoint_url := os.Getenv("API_ENDPOINT_URL") if domain == "" || api_endpoint_url == "" { log.Println("Warning: DOMAIN and API_ENDPOINT_URL environment variable not set. Using defaults") -- cgit v1.2.3