mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
fix typo on protocol
This commit is contained in:
parent
e70a02f53a
commit
fd372187bc
@ -124,7 +124,7 @@ export function useAppContext() {
|
|||||||
channelContext.actions.setToken(token);
|
channelContext.actions.setToken(token);
|
||||||
|
|
||||||
let protocol;
|
let protocol;
|
||||||
if (window.location.protocol === 'http') {
|
if (window.location.protocol === 'http:') {
|
||||||
protocol = 'ws://';
|
protocol = 'ws://';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user