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);
|
||||
|
||||
let protocol;
|
||||
if (window.location.protocol === 'http') {
|
||||
if (window.location.protocol === 'http:') {
|
||||
protocol = 'ws://';
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user