1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-02 16:08:31 +00:00

convert backend urls

This commit is contained in:
Kane York 2016-06-02 09:03:43 -07:00
parent 6abd30d71c
commit cdcb7fb079
2 changed files with 7 additions and 12 deletions

View file

@ -109,7 +109,7 @@ func SetupServerAndHandle(config *ConfigFile, serveMux *http.ServeMux) {
if err != nil {
log.Fatalln("Unable to seal requests:", err)
}
resp, err := Backend.HTTPClient.PostForm(announceStartupURL, announceForm)
resp, err := Backend.HTTPClient.PostForm(Backend.announceStartupURL, announceForm)
if err != nil {
log.Println("could not announce startup to backend:", err)
} else {