mirror of
https://github.com/yawaflua/yaflay.ru.git
synced 2025-12-13 17:16:26 +02:00
fix memory crashing
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
@page
|
||||
@model IndexModel
|
||||
@using System.Net.Http;
|
||||
@{
|
||||
ViewData["Title"] = "YaFlay";
|
||||
}
|
||||
|
||||
<h3 align="left" class="readme" >README.md</h3>
|
||||
|
||||
@{
|
||||
HttpClient client = new();
|
||||
string Github_readme = client.GetStringAsync("https://raw.githubusercontent.com/YaFlay/YaFlay/master/README.md").Result;
|
||||
string Github_readme = Startup.client.GetStringAsync("https://raw.githubusercontent.com/YaFlay/YaFlay/master/README.md").Result;
|
||||
<div class="text"> @Html.Raw(Github_readme) </div>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user