Skip to content

Commit

Permalink
[Hotfix] use https
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo-ceccato committed Jan 29, 2024
1 parent c493d9f commit 40bb46f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/pomodoro.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ function getOnlineStep() {
console.log("Getting online step");
let xhr = new XMLHttpRequest();
//xhr.open('GET', 'http://127.0.0.1:35123/json-endpoint');
xhr.open('GET', 'http://' + onlineIP + ':' + onlinePort + '/json-endpoint');
xhr.open('GET', 'https://' + onlineIP + ':' + onlinePort + '/json-endpoint');
xhr.onload = function() {
if (xhr.status === 200) {
let response = JSON.parse(xhr.responseText);
Expand Down

0 comments on commit 40bb46f

Please sign in to comment.