using Server.HTML; using Server.System; var builder = WebApplication.CreateBuilder(args); var app = builder.Build(); //À¥¼­¹ö ÃʱâÈ­ //ProtocolProcessor.Init(); //±ê À¥ÈÅ ÃʱâÈ­ //GItWebhook.Init(); //http¿ë µ¥ÀÌÅÍ //app.MapPost("/", ProtocolProcessor.Process); //git Á¢±Ù¿ë À¥ÈÅ //app.MapPost("/git", GItWebhook.Process); //app.MapPost("/update", GItWebhook.Process); #if DEBUG app.MapGet("/spin", Spin.Main); app.MapPost("/spin/random", Spin.Random); #endif app.Run(Statics.URL);