Skip to content

Commit

Permalink
Update the path to find the mp3.json file
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinmartian committed Nov 2, 2023
1 parent eeab91e commit 0959d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion player/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func logRequest(next http.Handler) http.Handler {

func main() {
// Load JSON data from the "mp3.json" file
jsonDataFile, err := os.ReadFile("mp3.json")
jsonDataFile, err := os.ReadFile("../mp3.json")
if err != nil {
fmt.Println("Error reading JSON file:", err)
return
Expand Down

0 comments on commit 0959d45

Please sign in to comment.