Commit 24cdd6bb by wzxjohn

fix: typo

parent da97c8ec
...@@ -25,7 +25,7 @@ func (e *embedFileSystem) Exists(prefix string, path string) bool { ...@@ -25,7 +25,7 @@ func (e *embedFileSystem) Exists(prefix string, path string) bool {
func (e *embedFileSystem) Open(name string) (http.File, error) { func (e *embedFileSystem) Open(name string) (http.File, error) {
if name == "/" { if name == "/" {
// This will make sure the index page gose to NoRouter handler, // This will make sure the index page goes to NoRouter handler,
// which will use the replaced index bytes with analytic codes. // which will use the replaced index bytes with analytic codes.
return nil, os.ErrNotExist return nil, os.ErrNotExist
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment