Fix variable rename

This commit is contained in:
nabarun 2022-12-12 15:00:58 +05:30
parent c5cfc35f48
commit a13ec23260

View File

@ -33,7 +33,7 @@ func PlaygroundHandler(apiURL string) http.HandlerFunc {
} }
w.Header().Set("Content-Type", "text/html") w.Header().Set("Content-Type", "text/html")
err := page.Execute(w, map[string]interface{}{ err := page.Execute(w, map[string]interface{}{
"apiUrl": apiURL, "apiURL": apiURL,
}) })
if err != nil { if err != nil {
panic(err) panic(err)