diff --git a/backend/services/notes.go b/backend/services/notes.go index c9ee34a..6c7cd36 100644 --- a/backend/services/notes.go +++ b/backend/services/notes.go @@ -22,7 +22,7 @@ func InitNotes(config *NotesConfig) *Notes { } func (notes *Notes) ParsePath(path string) (string, error) { - if path == "" { + if path == "" || path == "/" { path = "Index.md" }