diff --git a/src/lichess/game.ts b/src/lichess/game.ts index 54180dfa2f..3a62419212 100644 --- a/src/lichess/game.ts +++ b/src/lichess/game.ts @@ -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) { diff --git a/src/ui/signupModal.ts b/src/ui/signupModal.ts index e064462577..70bee1fdcf 100644 --- a/src/ui/signupModal.ts +++ b/src/ui/signupModal.ts @@ -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' ), '.' diff --git a/src/ui/training/TrainingCtrl.ts b/src/ui/training/TrainingCtrl.ts index c50905a02c..084587db61 100644 --- a/src/ui/training/TrainingCtrl.ts +++ b/src/ui/training/TrainingCtrl.ts @@ -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 = () => {