diff --git a/context_fs_go1.16.go b/context_fs_go1.16.go index 889ba9d3..c1c724af 100644 --- a/context_fs_go1.16.go +++ b/context_fs_go1.16.go @@ -33,7 +33,7 @@ func fsFile(c Context, file string, filesystem fs.FS) error { fi, _ := f.Stat() if fi.IsDir() { - file = filepath.ToSlash(filepath.Join(file, indexPage)) // ToSlash is necessary for Windows + file = filepath.ToSlash(filepath.Join(file, indexPage)) // ToSlash is necessary for Windows. fs.Open and os.Open are different in that aspect. f, err = filesystem.Open(file) if err != nil { return ErrNotFound