Make the downloader more resiliant

This commit is contained in:
2026-03-02 02:23:46 -06:00
parent 8851f710fb
commit 44c87e1e50
5 changed files with 98 additions and 4 deletions

View File

@@ -623,6 +623,17 @@ class TYTDApp {
}
}
else if(ctx.Path == "/api/v1/manifest.json")
{
const v = ctx.QueryParams.TryGetFirst("v");
if(TypeIsString(v))
{
const resp=this.TYTD.ManifestRequest(v);
Console.WriteLine(resp);
ctx.WithMimeType("application/json").SendJson(resp);
return true;
}
}
else if(ctx.Path == "/api/v1/personal")
{
/*