From 0b4b2236928b1a48b38b50e0e7714bc67ea08237 Mon Sep 17 00:00:00 2001 From: Gouri Panda Date: Sun, 8 Oct 2023 01:53:14 +0530 Subject: [PATCH] checking the authentication if works --- custom/build.gradle.kts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/custom/build.gradle.kts b/custom/build.gradle.kts index e87c76058..659255fb3 100644 --- a/custom/build.gradle.kts +++ b/custom/build.gradle.kts @@ -71,11 +71,11 @@ fun ProductFlavor.fetchUrl(): String { return url .openConnection() .apply { - if (urlString.isAuthenticationUrl){ - setRequestProperty( - "Authorization", - "Basic ${Base64.getEncoder().encodeToString(System.getenv(secretKey).toByteArray())}" - ) + if (urlString.isAuthenticationUrl) { + // setRequestProperty( + // "Authorization", + // "Basic ${Base64.getEncoder().encodeToString(System.getenv(secretKey).toByteArray())}" + // ) } connect() getInputStream()