mirror of
https://github.com/owncast/owncast.git
synced 2025-11-04 05:17:27 +08:00
Fix lint warning
This commit is contained in:
@ -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))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user