Replace api token with ENV var API_TOKEN

This commit is contained in:
Peter Stuifzand 2021-02-02 22:08:27 +01:00
parent 05539ff687
commit 1d81510ae0

View File

@ -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 {