From d6e4b61ff67a67484b7d252048b794fca83d3966 Mon Sep 17 00:00:00 2001 From: TanelOrumaa Date: Tue, 18 Jan 2022 01:09:06 +0200 Subject: [PATCH] Configured URL-s to heaid.ee --- .../app/src/main/java/com/example/testmobileapp/MainActivity.kt | 2 +- .../demobackend/config/ApplicationConfiguration.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TestMobileApp/app/src/main/java/com/example/testmobileapp/MainActivity.kt b/TestMobileApp/app/src/main/java/com/example/testmobileapp/MainActivity.kt index c4b197a..3b93f7f 100644 --- a/TestMobileApp/app/src/main/java/com/example/testmobileapp/MainActivity.kt +++ b/TestMobileApp/app/src/main/java/com/example/testmobileapp/MainActivity.kt @@ -14,7 +14,7 @@ import org.json.JSONObject /** * Base url where the requests should be made. Add yours here. It must use https. */ -private const val BASE_URL = "https://a0fe-2001-7d0-88ab-b880-7571-cba0-5db2-11b7.ngrok.io" +private const val BASE_URL = "https://heaid.ee" private const val AUTH_URL = "$BASE_URL/auth/login" private const val CHALLENGE_URL = "$BASE_URL/auth/challenge" diff --git a/demoBackend/src/main/kotlin/com/tarkvaratehnika/demobackend/config/ApplicationConfiguration.kt b/demoBackend/src/main/kotlin/com/tarkvaratehnika/demobackend/config/ApplicationConfiguration.kt index 76a2ae2..0570d15 100644 --- a/demoBackend/src/main/kotlin/com/tarkvaratehnika/demobackend/config/ApplicationConfiguration.kt +++ b/demoBackend/src/main/kotlin/com/tarkvaratehnika/demobackend/config/ApplicationConfiguration.kt @@ -4,7 +4,7 @@ class ApplicationConfiguration { companion object { // URL for application. Use ngrok for HTTPS (or a tool of your own choice) and put the HTTPS link here. - val WEBSITE_ORIGIN_URL = "https://5a0b-85-253-195-195.ngrok.io" + val WEBSITE_ORIGIN_URL = "https://heaid.ee" // Authentication request timeout in seconds. val AUTH_REQUEST_TIMEOUT_MS = 120000