Skip to content

Commit

Permalink
https melendriu
Browse files Browse the repository at this point in the history
  • Loading branch information
Adminbck committed Jun 23, 2024
1 parent 516c17f commit 2f71853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1>Server-Sent Events</h1>
</script>

<script>
const eventSource = new EventSource('http://melendriu.homepc.it:8888/events');
const eventSource = new EventSource('https://melendriu.homepc.it:8888/events');
eventSource.onmessage = function(event) {
const dataElement = document.getElementById('sse-data');
dataElement.innerHTML = event.data + '<br>';
Expand Down

0 comments on commit 2f71853

Please sign in to comment.