diff --git a/serve.go b/serve.go index 8fbd8d8..3d2b380 100644 --- a/serve.go +++ b/serve.go @@ -43,6 +43,9 @@ type handler struct { func (h handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { domain := r.Host path := r.URL.Path + if path == "" || path == "/" { + path = "index.html" + } object, stat, err := h.get(r.Context(), domain, path) if err != nil {