Skip to content

Commit

Permalink
update download url to always be latest
Browse files Browse the repository at this point in the history
paired with cache control this might help somewhat
  • Loading branch information
ThatGamerBlue committed Apr 5, 2020
1 parent abe4277 commit aa4dd0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class AppDownloadsComponent implements OnInit, OnDestroy {
}

public getDownload(item: number): string {
const baseUrl = `https://github.com/open-osrs/launcher/releases/download/${this.version}`;
const baseUrl = `https://github.com/open-osrs/launcher/releases/latest/download`;
if (item === 1) {
return `${baseUrl}/OpenOSRS.jar`;
} else {
Expand Down

0 comments on commit aa4dd0e

Please sign in to comment.