summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-12-21 11:18:46 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-12-21 11:18:46 +0530
commitc4867dad3256586d570f702d7afdf92fca6ab84a (patch)
tree4532b427f7dca55ccef52e0925aca0c63f9eea95
parent15e62b842740cc207643bb6154d5accf513bfa50 (diff)
server.go : declared but not used
-rw-r--r--server.go2
1 files changed, 1 insertions, 1 deletions
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")