Upload files to "/"

This commit is contained in:
2026-07-24 15:42:29 +00:00
parent f305cecd99
commit fcc7f59761
5 changed files with 424 additions and 0 deletions

24
Program.cs Normal file
View File

@@ -0,0 +1,24 @@
namespace Stella
{
public class Program
{
/*
* Console.WriteLine(JsonSerializer.Serialize(ctx.Request.Form.ToDictionary(k => k.Key, v => v.Value.ToString()), new JsonSerializerOptions { WriteIndented = true }));
* above to print form in json
*/
public static void Main(string[] args)
{
var builder = WebApplication.CreateBuilder(args);
var webApplication = builder.Build();
var app = new ServerAPI(webApplication);
app.Init();
Signatures.Init();
app.Run();
}
}
}