fix path autoadd /index.html

This commit is contained in:
uan
2025-08-06 21:05:18 +02:00
parent 2180447d00
commit c2cc863c33

View File

@@ -153,7 +153,7 @@ func (ws *WebServer) _cleanFilepath(filepath string) string {
return ""
}
if fileinfo.IsDir() {
filepath += "/index.html"
filepath += "index.html"
}
return filepath
}