Add <head> to 404 so Livereload can add its script to the page
This commit is contained in:
parent
a35a38dd5f
commit
fe5247d9d9
|
@ -281,7 +281,7 @@ module Middleman
|
|||
# Halt request and return 404
|
||||
def not_found(res, path)
|
||||
res.status = 404
|
||||
res.write "<html><body><h1>File Not Found</h1><p>#{path}</p></body>"
|
||||
res.write "<html><head></head><body><h1>File Not Found</h1><p>#{path}</p></body></html>"
|
||||
res.finish
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue