From e4f7028819eabbc81cb966e355e2443470c5f243 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Mon, 7 Jul 2025 00:06:49 +0200 Subject: [PATCH] Fix: fix android login --- app/land.ts | 2 +- app/passthrough.html | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/land.ts b/app/land.ts index b6e000519..321bb6504 100644 --- a/app/land.ts +++ b/app/land.ts @@ -38,5 +38,5 @@ connection.finishLogin(async () => { tokenSrc.set("ERROR: no token retrieved!") return } - window.location.href = "orgmapcomplete://passthrough.html?oauth_token=" + token + window.location.href = "https://app.mapcomplete.org/passthrough.html?oauth_token=" + token }) diff --git a/app/passthrough.html b/app/passthrough.html index ec2ec9ea5..8ced26833 100644 --- a/app/passthrough.html +++ b/app/passthrough.html @@ -12,5 +12,10 @@ Hey! Open this page with the app. (Press the menu, "open in app") + +