make notes api return any file (so images and etc can be sent)

This commit is contained in:
2026-01-13 12:13:20 +00:00
parent e756e160d7
commit 18c87c170b
3 changed files with 15 additions and 32 deletions

View File

@@ -70,7 +70,7 @@ func main() {
r.GET("/spotify/recent", store.RecentlyPlayed)
// r.POST("/spotify", store.SendSong)
r.GET("/notes/*path", store.GetNote)
r.GET("/notes/*path", store.GetNoteFile)
r.GET("/", func(c *gin.Context) {
c.JSON(200, gin.H{"message": "Hello World"})