Browse Source

Fixed minor share interface not found issue

Toby Chui 3 years ago
parent
commit
177e65d5fd
2 changed files with 0 additions and 6 deletions
  1. 0 6
      mod/share/share.go
  2. 0 0
      web/SystemAO/file_system/newFolder.html.disabled

+ 0 - 6
mod/share/share.go

@@ -505,12 +505,6 @@ func (s *Manager) HandleShareAccess(w http.ResponseWriter, r *http.Request) {
 
 	} else {
 		//This share not exists
-		if err != nil {
-			//Template not found. Just send a 404 Not Found
-			http.NotFound(w, r)
-			return
-		}
-
 		if directDownload {
 			//Send 404 header
 			http.NotFound(w, r)

+ 0 - 0
web/SystemAO/file_system/newFolder.html → web/SystemAO/file_system/newFolder.html.disabled