From 274838e78b262463d9002a5ca8718d5f06d06625 Mon Sep 17 00:00:00 2001 From: Marko Bencun Date: Thu, 21 Apr 2022 11:30:16 +0200 Subject: [PATCH] android: fix typo in BASE_URL The trailing slash is needed for the url replacement in `shouldInterceptRequest()` to work properly. --- .../src/main/java/ch/shiftcrypto/bitboxapp/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/android/BitBoxApp/app/src/main/java/ch/shiftcrypto/bitboxapp/MainActivity.java b/frontends/android/BitBoxApp/app/src/main/java/ch/shiftcrypto/bitboxapp/MainActivity.java index ed195813ca..9408a7ab8e 100644 --- a/frontends/android/BitBoxApp/app/src/main/java/ch/shiftcrypto/bitboxapp/MainActivity.java +++ b/frontends/android/BitBoxApp/app/src/main/java/ch/shiftcrypto/bitboxapp/MainActivity.java @@ -54,7 +54,7 @@ public class MainActivity extends AppCompatActivity { // BitBoxApp, it is useless, as any app can do this. // // Unfortunately there seems to be no simple way to include this header only in requests to Moonpay. - private static final String BASE_URL = "https://shiftcrypto.ch"; + private static final String BASE_URL = "https://shiftcrypto.ch/"; // stores the request from onPermissionRequest until the user has granted or denied the permission. private PermissionRequest webViewpermissionRequest;