Skip to content

Commit

Permalink
Redirect without setting the scheme and host
Browse files Browse the repository at this point in the history
  • Loading branch information
JonEllis committed Feb 11, 2022
1 parent c9ea2e5 commit 415ff4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion satisfactory-viewer.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func latest(w http.ResponseWriter, req *http.Request) {
continue
}

w.Header().Set("Location", game.Saves[0].FullUrl)
w.Header().Set("Location", game.Saves[0].DownloadUrl)
w.WriteHeader(302)
return
}
Expand Down

0 comments on commit 415ff4d

Please sign in to comment.