diff --git a/miniws/webserver.go b/miniws/webserver.go index c5a39ce..40e91c8 100644 --- a/miniws/webserver.go +++ b/miniws/webserver.go @@ -153,7 +153,7 @@ func (ws *WebServer) _cleanFilepath(filepath string) string { return "" } if fileinfo.IsDir() { - filepath += "/index.html" + filepath += "index.html" } return filepath }