From c2cc863c33fce001524e1fb700c1e86e261d007e Mon Sep 17 00:00:00 2001 From: uan Date: Wed, 6 Aug 2025 21:05:18 +0200 Subject: [PATCH] fix path autoadd /index.html --- miniws/webserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }