Skip to content

Commit 87e0ecd

Browse files
committed
switch to secure websocket protocol
1 parent ffa66bc commit 87e0ecd

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

Source/CrowControl.csproj

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AssemblyName>CrowControl</AssemblyName>
66
<RootNamespace>Celeste.Mod.CrowControl</RootNamespace>
77
<LangVersion>latest</LangVersion>
@@ -56,9 +56,7 @@
5656
</PropertyGroup>
5757

5858
<!-- Inline task used to create a .zip for the mod -->
59-
<UsingTask TaskName="PackageMod"
60-
TaskFactory="RoslynCodeTaskFactory"
61-
AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll" >
59+
<UsingTask TaskName="PackageMod" TaskFactory="RoslynCodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll">
6260
<ParameterGroup>
6361
<Files ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="true" />
6462
<OutputPath ParameterType="System.String" Required="true" />

Source/CrowControlSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public void StopThread()
218218

219219
public void StartWebSocket()
220220
{
221-
using (var ws = new WebSocket("ws://irc-ws.chat.twitch.tv:80"))
221+
using (var ws = new WebSocket("wss://irc-ws.chat.twitch.tv:443"))
222222
{
223223
ws.Compression = CompressionMethod.None;
224224

0 commit comments

Comments
 (0)