Skip to content

Commit

Permalink
Fix download
Browse files Browse the repository at this point in the history
  • Loading branch information
SavageCore committed Jan 28, 2024
1 parent 1e5ee9d commit 240326c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/replay/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func Download(id string) string {

// Proceed with the download
filePath := filepath.Join(replayDir, fileName)
url := fmt.Sprintf("https://cohdb.com/replays/%s/download", id)
url := fmt.Sprintf("https://cohdb.com/replays/%s/file", id)

// Create the file
file, err := os.Create(filePath)
Expand Down

0 comments on commit 240326c

Please sign in to comment.