diff --git a/http/http.go b/http/http.go index b2fdd40b..0876e67b 100644 --- a/http/http.go +++ b/http/http.go @@ -270,6 +270,7 @@ func sharePage(c *fm.Context, w http.ResponseWriter, r *http.Request) (int, erro info, err := os.Stat(s.Path) if err != nil { + c.Store.Share.Delete(s.Hash) return ErrorToHTTP(err, false), err }