aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/App.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-08-14 11:34:11 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:55 +0300
commit864e079847207a9c8072ec5c425e28fd1d742dc9 (patch)
treec46be1489bf119a5e2631310edd03895d36e774c /vnext/src/App.js
parent2974055bbad6b16d2f7936c141d24966ad2ae287 (diff)
jsdoc fixes
Diffstat (limited to 'vnext/src/App.js')
-rw-r--r--vnext/src/App.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/App.js b/vnext/src/App.js
index 41c8849b..80b235ac 100644
--- a/vnext/src/App.js
+++ b/vnext/src/App.js
@@ -58,7 +58,7 @@ export default function App() {
if ('EventSource' in window) {
const eventParams = { hash: hash };
let url = new URL(`https://juick.com/api/events?${qs.stringify(eventParams)}`);
- es = new EventSource(url);
+ es = new EventSource(url.toString());
es.onopen = () => {
console.log('online');
};