aboutsummaryrefslogtreecommitdiffhomepage
path: root/livereload
diff options
context:
space:
mode:
authorOleksandr Redko <[email protected]>2023-05-22 20:11:12 +0300
committerBjørn Erik Pedersen <[email protected]>2023-06-19 09:26:29 +0200
commit9009c8cdca448e50704f7ecd1a3918c5919b0f37 (patch)
tree960aaa2b80a07c959360ad66fc79ebe7c0fa9632 /livereload
parent12dc9a6e4acd5280a3e8b1658cbb96669fa97057 (diff)
downloadhugo-9009c8cdca448e50704f7ecd1a3918c5919b0f37.tar.gz
hugo-9009c8cdca448e50704f7ecd1a3918c5919b0f37.zip
all: Fix typos in function names and comments
Diffstat (limited to 'livereload')
-rw-r--r--livereload/livereload.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/livereload/livereload.go b/livereload/livereload.go
index 9223d1497..59d4c1286 100644
--- a/livereload/livereload.go
+++ b/livereload/livereload.go
@@ -143,7 +143,7 @@ func refreshPathForPort(s string, port int) {
wsHub.broadcast <- []byte(msg)
}
-// ServeJS serves the liverreload.js who's reference is injected into the page.
+// ServeJS serves the livereload.js who's reference is injected into the page.
func ServeJS(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", media.Builtin.JavascriptType.Type)
w.Write(liveReloadJS())