fixed wrong url in frontend
This commit is contained in:
@@ -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);
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user