mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-01 22:04:52 +00:00
feat: adds more api handlers to load config and get/set min log level
This commit is contained in:
@@ -26,8 +26,10 @@ namespace PepperDash.Essentials.Core.Web.RequestHandlers
|
||||
protected override void HandlePost(HttpCwsContext context)
|
||||
{
|
||||
var message = "";
|
||||
//Global.ControlSystem.GoWithLoad();
|
||||
|
||||
var cs = Global.ControlSystem as ILoadConfig;
|
||||
if(cs != null)
|
||||
cs.GoWithLoad();
|
||||
|
||||
context.Response.StatusCode = 200;
|
||||
context.Response.StatusDescription = "OK";
|
||||
context.Response.Write(message, false);
|
||||
|
||||
Reference in New Issue
Block a user