From 1d81510ae06fa94c7add825cb367074e4dc7d31f Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Tue, 2 Feb 2021 22:08:27 +0100 Subject: [PATCH] Replace api token with ENV var API_TOKEN --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index b0c965f..b1d72ca 100644 --- a/main.go +++ b/main.go @@ -39,7 +39,7 @@ var ( port = flag.Int("port", 8080, "listen port") baseurl = flag.String("baseurl", "", "baseurl") redirectURI = "" - authToken = "XVlBzgbaiCMRAjWw" + authToken = os.Getenv("API_TOKEN") ) type Backref struct {