mirror of
https://github.com/yawaflua/yaflay.ru.git
synced 2025-12-11 16:16:26 +02:00
fix errors
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user