Replace api token with ENV var API_TOKEN
This commit is contained in:
parent
05539ff687
commit
1d81510ae0
2
main.go
2
main.go
|
@ -39,7 +39,7 @@ var (
|
||||||
port = flag.Int("port", 8080, "listen port")
|
port = flag.Int("port", 8080, "listen port")
|
||||||
baseurl = flag.String("baseurl", "", "baseurl")
|
baseurl = flag.String("baseurl", "", "baseurl")
|
||||||
redirectURI = ""
|
redirectURI = ""
|
||||||
authToken = "XVlBzgbaiCMRAjWw"
|
authToken = os.Getenv("API_TOKEN")
|
||||||
)
|
)
|
||||||
|
|
||||||
type Backref struct {
|
type Backref struct {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user