fix errors

This commit is contained in:
yawaflua
2024-04-17 22:55:21 +03:00
parent 1075225001
commit e6f56938c1
12 changed files with 63 additions and 83 deletions

View File

@@ -53,7 +53,7 @@
message = await Startup.client.SendAsync(requestMessage);
}
string responseBody = await message.Content.ReadAsStringAsync();
JsonNode body = JsonNode.Parse(responseBody);
JsonNode? body = JsonNode.Parse(responseBody);
if (body["access_token"]?.ToString() == null)
{
<h4>Ошибка! Попробуй авторизоваться заново</h4>

View File

@@ -1,12 +0,0 @@
@page
@{
Layout = null;
this.Response.ContentType = "text/plain";
}
User-agent: *
<environment include="Development,Staging">Disallow: /*</environment>
<environment include="Production">Disallow: /* </environment>
<environment include="Production">Allow: /Blog </environment>
<environment include="Production">Allow: /Blog/* </environment>
<environment include="Production">Allow: /Privacy </environment>
<environment include="Production">Allow: / </environment>