🔧 Fixed an issue with AirDC++ Socket creation

This commit is contained in:
2021-11-24 08:26:04 -08:00
parent bde76a81b7
commit ce5ad3575e
3 changed files with 4 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ import { Socket } from "airdcpp-apisocket";
class AirDCPPSocket {
constructor(configuration) {
console.assert(configuration);
console.log(configuration);
let socketProtocol = "";
if (configuration.protocol === "https") {
socketProtocol = "wss";