Skip to content
This repository was archived by the owner on Aug 16, 2024. It is now read-only.

Commit a25a042

Browse files
committed
fix: typo.
1 parent c0b4203 commit a25a042

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/SessionOptions.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ namespace Cyan
5454
{
5555
opt.HttpHostname = json["http-hostname"].get<string>();
5656
}
57-
if (json.contains("webscoketHostname"))
57+
if (json.contains("websocketHostname"))
5858
{
59-
opt.WebSocketHostname = json["webscoketHostname"].get<string>();
59+
opt.WebSocketHostname = json["websocketHostname"].get<string>();
6060
}
6161
if (json.contains("websocket-hostname"))
6262
{
@@ -85,9 +85,9 @@ namespace Cyan
8585
{
8686
opt.HttpPort = stoi(json["http-port"].get<string>());
8787
}
88-
if (json.contains("webscoketPort"))
88+
if (json.contains("websocketPort"))
8989
{
90-
opt.WebSocketPort = json["webscoketPort"].get<short>();
90+
opt.WebSocketPort = json["websocketPort"].get<short>();
9191
}
9292
if (json.contains("websocket-port"))
9393
{

0 commit comments

Comments
 (0)