mirror of
https://github.com/khairul169/garage-webui.git
synced 2026-06-12 05:36:20 +07:00
first time with go, whoops
This commit is contained in:
parent
683cf57aae
commit
39d6c6696b
@ -92,7 +92,7 @@ func (g *garage) GetAdminKey() string {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
return key
|
return string(key)
|
||||||
}
|
}
|
||||||
|
|
||||||
key := os.Getenv("API_ADMIN_KEY")
|
key := os.Getenv("API_ADMIN_KEY")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user