Fix lint warning
This commit is contained in:
parent
fdcd2863d6
commit
484b5d2a49
@ -9,5 +9,5 @@ import (
|
|||||||
// ServeCustomJavascript will serve optional custom Javascript.
|
// ServeCustomJavascript will serve optional custom Javascript.
|
||||||
func ServeCustomJavascript(w http.ResponseWriter, r *http.Request) {
|
func ServeCustomJavascript(w http.ResponseWriter, r *http.Request) {
|
||||||
js := data.GetCustomJavascript()
|
js := data.GetCustomJavascript()
|
||||||
w.Write([]byte(js))
|
_, _ = w.Write([]byte(js))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user