mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-13 13:22:57 +00:00
fixup url functionality
This commit is contained in:
1 parent
4bac386a79
commit
de8644a0ba
1 file changed
+5
-1
@@ -374,7 +374,11 @@ class ApiConfig {
|
||||
}
|
||||
|
||||
obsEventsWebsocket(twitchUsername: string) : string {
|
||||
return `ws://localhost:54321/obs/${twitchUsername}`;
|
||||
if (this.domain === Domain.Localhost) {
|
||||
return `ws://localhost:54321/obs/${twitchUsername}`;
|
||||
} else {
|
||||
return `wss://ws.storyteller.io/obs/${twitchUsername}`;
|
||||
}
|
||||
//return `wss://ws.jungle.horse/obs/${twitchUsername}`;
|
||||
//return `wss://obs.storyteller.io/obs/${twitchUsername}`;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user