From 340a5c91ad473c3c4d8e5d729f235afcaf029535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=A8=D0=B8?= =?UTF-8?q?=D0=BC=D0=B0=D0=BD=D1=81=D0=BA=D0=B8=D0=B9?= Date: Thu, 19 Oct 2023 19:00:15 +0300 Subject: [PATCH] and some rework --- Controllers/HomeController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controllers/HomeController.cs b/Controllers/HomeController.cs index a592072..f5e3a2a 100644 --- a/Controllers/HomeController.cs +++ b/Controllers/HomeController.cs @@ -18,7 +18,7 @@ namespace yaflay.ru.Новая_папка HttpClient client = new(); string Base64BearerToken = Convert.ToBase64String(Encoding.UTF8.GetBytes("")); client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", Base64BearerToken); - HttpResponseMessage getter = await client.GetAsync("https://raw.githubusercontent.com/YaFlay/yaflay.ru/master/redirect_uris.json?token=GHSAT0AAAAAAB54DYE4TFGPWCCPBHAGGZR4ZJRKIVA"); + HttpResponseMessage getter = await client.GetAsync("https://raw.githubusercontent.com/YaFlay/yaflay.ru/master/redirect_uris.json"); JsonNode allFile = JsonNode.Parse(await getter.Content.ReadAsStringAsync()); return (string?)allFile[baseUrl]; }