mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-13 11:44:54 +00:00
fix: updated Essentials WebAPI and Request Handlers using statements to reflect PepperDash Core updates in 1.1.5-alpha-286
This commit is contained in:
@@ -2,13 +2,14 @@
|
||||
using Crestron.SimplSharp;
|
||||
using Crestron.SimplSharp.WebScripting;
|
||||
using PepperDash.Core;
|
||||
using PepperDash.Core.Web;
|
||||
using PepperDash.Essentials.Core.Web.RequestHandlers;
|
||||
|
||||
namespace PepperDash.Essentials.Core.Web
|
||||
{
|
||||
public class EssemtialsWebApi : EssentialsDevice
|
||||
{
|
||||
private readonly GenericCwsBase _server;
|
||||
private readonly WebApiServer _server;
|
||||
|
||||
private const string DefaultBasePath = "/api";
|
||||
|
||||
@@ -42,7 +43,7 @@ namespace PepperDash.Essentials.Core.Web
|
||||
|
||||
BasePath = string.IsNullOrEmpty(config.BasePath) ? DefaultBasePath : config.BasePath;
|
||||
|
||||
_server = new GenericCwsBase(Key, Name, BasePath);
|
||||
_server = new WebApiServer(Key, Name, BasePath);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user