From b497117b622c91189bc3e8dac4484db84c162d7a Mon Sep 17 00:00:00 2001 From: glax Date: Thu, 16 Jan 2025 20:56:34 +0100 Subject: [PATCH] Change OpenShock default Endpoint --- CShocker/Devices/APIs/OpenShockHttp.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CShocker/Devices/APIs/OpenShockHttp.cs b/CShocker/Devices/APIs/OpenShockHttp.cs index 3949c65..6b165a7 100644 --- a/CShocker/Devices/APIs/OpenShockHttp.cs +++ b/CShocker/Devices/APIs/OpenShockHttp.cs @@ -31,7 +31,7 @@ public class OpenShockHttp : OpenShockApi ApiHttpClient.MakeAPICall(HttpMethod.Post, $"{Endpoint}/2/shockers/control", json, this.Logger, new ValueTuple("OpenShockToken", ApiKey)); } - public OpenShockHttp(string apiKey, string endpoint = "https://api.shocklink.net", ILogger? logger = null) : base(DeviceApi.OpenShockHttp, apiKey, endpoint, logger) + public OpenShockHttp(string apiKey, string endpoint = "https://api.shocklink.app", ILogger? logger = null) : base(DeviceApi.OpenShockHttp, apiKey, endpoint, logger) { } } \ No newline at end of file