Skip to content

Commit

Permalink
Fix old links without https
Browse files Browse the repository at this point in the history
  • Loading branch information
veloce committed Apr 13, 2018
1 parent e99229e commit 7244c81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lichess/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export function title(data: GameData | AnalyseData): string {
}

export function publicUrl(data: GameData) {
return 'http://lichess.org/' + data.game.id
return 'https://lichess.org/' + data.game.id
}

export function isSupportedVariant(data: GameData) {
Expand Down
2 changes: 1 addition & 1 deletion src/ui/signupModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function renderForm() {
'By registering, you agree to be bound by our ',
h('a', {
oncreate: helper.ontap(() =>
window.open('http://lichess.org/terms-of-service', '_blank', 'location=no')
window.open('https://lichess.org/terms-of-service', '_blank', 'location=no')
)},
'Terms of Service'
), '.'
Expand Down
2 changes: 1 addition & 1 deletion src/ui/training/TrainingCtrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export default class TrainingCtrl implements PromotingInterface {
}

public share = () => {
window.plugins.socialsharing.share(null, null, null, `http://lichess.org/training/${this.data.puzzle.id}`)
window.plugins.socialsharing.share(null, null, null, `https://lichess.org/training/${this.data.puzzle.id}`)
}

public goToAnalysis = () => {
Expand Down

0 comments on commit 7244c81

Please sign in to comment.