adding welcome
This commit is contained in:
@@ -47,6 +47,7 @@ func (notes *Notes) GetNote(path string) (*Note, error) {
|
||||
return nil, ErrPathTraversal
|
||||
}
|
||||
|
||||
fullPath += ".md"
|
||||
data, err := os.ReadFile(fullPath)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user