TYTD w api

This commit is contained in:
Michael Nolan 2021-12-07 19:16:23 -06:00
parent bb54f8a32e
commit 0ba0d34596
13 changed files with 517 additions and 281 deletions

View File

@ -94,13 +94,13 @@ namespace TYTD
Route.Add("/api/Storage/Video/{Id}",(HttpAction)Video);
Route.Add("/api/Storage/VideoRes/{Res}/{Id}",(HttpAction)VideoRes);
Route.Add("/api/upload/", (HttpAction)UploadFiles, "POST");
ApiLoader.Init();
/* Other */
Route.Add("/", (HttpAction)Index);
Route.Add("/{Path}", (HttpAction)RootPath);
Console.CancelKeyPress += (sender, e) => { ApiLoader.Dispose();var date = DateTime.Now.ToString("yyyyMMdd_HHmmss");File.WriteAllText(Path.Combine("config","queues-close",$"{date}.json"), Downloader.GetQueue()); return; };
ApiLoader.Init();
Console.WriteLine("Almost Ready To Listen");

BIN
TYTD.Api/bin/Release/AngleSharp.dll Normal file → Executable file

Binary file not shown.

791
TYTD.Api/bin/Release/AngleSharp.xml Normal file → Executable file

File diff suppressed because it is too large Load Diff

BIN
TYTD.Api/bin/Release/System.Text.Encoding.CodePages.dll Normal file → Executable file

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
097be3965e64cbf59b26ef01ef9593b6d45f996f
3eb6dde99f6eaaac2f2eb82e830940474adc1a21

View File

@ -125,3 +125,4 @@
/home/ddlovato/tytd/site/TYTD.Api/obj/Release/TYTD.Api.csproj.CoreCompileInputs.cache
/home/ddlovato/tytd/site/TYTD.Api/obj/Release/TYTD.Api.csproj.CopyComplete
/home/ddlovato/tytd/site/TYTD.Api/obj/Release/TYTD.Api.dll
/home/ddlovato/tytd/site/TYTD.Api/bin/Release/System.Text.Encoding.CodePages.xml

Binary file not shown.

Binary file not shown.

Binary file not shown.