잘못 커밋된 내용 롤백
This commit is contained in:
parent
ec87da508f
commit
de110258ec
|
|
@ -4,15 +4,15 @@ var builder = WebApplication.CreateBuilder(args);
|
||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
|
|
||||||
//웹서버 초기화
|
//웹서버 초기화
|
||||||
//ProtocolProcessor.Init();
|
ProtocolProcessor.Init();
|
||||||
//깃 웹훅 초기화
|
//깃 웹훅 초기화
|
||||||
//GItWebhook.Init();
|
GItWebhook.Init();
|
||||||
|
|
||||||
//http용 데이터
|
//http용 데이터
|
||||||
//app.MapPost("/", ProtocolProcessor.Process);
|
app.MapPost("/", ProtocolProcessor.Process);
|
||||||
|
|
||||||
//git 접근용 웹훅
|
//git 접근용 웹훅
|
||||||
//app.MapPost("/git", GItWebhook.Process);
|
app.MapPost("/git", GItWebhook.Process);
|
||||||
|
|
||||||
//app.MapPost("/update", GItWebhook.Process);
|
//app.MapPost("/update", GItWebhook.Process);
|
||||||
|
|
||||||
|
|
@ -22,10 +22,4 @@ var app = builder.Build();
|
||||||
//app.MapPost("/spin/random", Spin.Random);
|
//app.MapPost("/spin/random", Spin.Random);
|
||||||
//#endif
|
//#endif
|
||||||
|
|
||||||
|
|
||||||
app.MapGet("/update", (HttpContext context) => {
|
|
||||||
ProtocolProcessor.cryptoData = (new Random()).Next().ToString();
|
|
||||||
return ProtocolProcessor.cryptoData;
|
|
||||||
});
|
|
||||||
|
|
||||||
app.Run(Statics.URL);
|
app.Run(Statics.URL);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue