diff --git a/frontend/frontend.js b/frontend/frontend.js index 4bbee0d..d97bb2d 100644 --- a/frontend/frontend.js +++ b/frontend/frontend.js @@ -1,7 +1,7 @@ $('#update').click(updateData()) function updateData () { - const url = 'http:' + window.location.hostname + ':5000/data' + const url = 'http://' + window.location.hostname + ':5000/data'; $.get(url, function (data, status) { - $('#debug').text(data) + $('#debug').text(data); }) }