mirror of
https://github.com/yawaflua/yaflay.ru.git
synced 2026-04-25 17:20:38 +03:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8b5b7cd352 | |||
| 83b8c22acf | |||
| abdf1da3d5 | |||
| 489633a7a6 | |||
| 820d8b8f8b | |||
| 22851d0465 |
@@ -4,6 +4,7 @@ using Microsoft.AspNetCore.Mvc;
|
||||
using System.Net;
|
||||
using System.Net.Http.Headers;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Nodes;
|
||||
using System.Xml.Schema;
|
||||
|
||||
@@ -21,7 +22,10 @@ namespace yaflay.ru.Новая_папка
|
||||
HttpClient client = new();
|
||||
HttpResponseMessage getter = await client.GetAsync("https://raw.githubusercontent.com/YaFlay/yaflay.ru/master/redirect_uris.json");
|
||||
await Console.Out.WriteLineAsync(await getter.Content.ReadAsStringAsync());
|
||||
JsonNode allFile = JsonNode.Parse(await getter.Content.ReadAsStringAsync());
|
||||
JsonNodeOptions jsonNodeOptions = new ();
|
||||
JsonDocumentOptions jsonDocumentOptions = new();
|
||||
jsonDocumentOptions.AllowTrailingCommas = true;
|
||||
JsonNode allFile = JsonNode.Parse(await getter.Content.ReadAsStringAsync(), jsonNodeOptions, jsonDocumentOptions);
|
||||
return (string?)allFile[baseUrl];
|
||||
}
|
||||
catch (Exception except)
|
||||
|
||||
+10
-1
@@ -1 +1,10 @@
|
||||
{ "github": "https://github.com/YaFlay", "bump": "https://discord.gg/bump-1119294432949325955", "shitpost": "https://t.me/yaflay_shitposts", "boosty": "https://boosty.to/yaflay", "storespw": "https://github.com/PoopStore-Team" }
|
||||
{
|
||||
"github": "https://github.com/YaFlay",
|
||||
"gh": "https://github.com/YaFlay",
|
||||
"bump": "https://discord.gg/bump-1119294432949325955",
|
||||
"shitpost": "https://t.me/yaflay_shitposts",
|
||||
"boosty": "https://boosty.to/yaflay",
|
||||
"storespw": "https://github.com/PoopStore-Team",
|
||||
"gh-team": "https://github.com/PoopStore-Team",
|
||||
"twitch": "https://twitch.tv/bebra_yaflay",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user