automated terminal push
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
|
||||
//
|
||||
// variables and constants
|
||||
//
|
||||
|
||||
//apiURL="http://localhost:8888"
|
||||
|
||||
apiURL="https://sonar.jacquesingram.online"
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
fetch();
|
||||
@@ -14,7 +22,7 @@ $.ajax({
|
||||
|
||||
type: "GET",
|
||||
|
||||
url: "http://localhost:8888"+ "/jobs/",
|
||||
url: apiURL + "/jobs/",
|
||||
|
||||
dataType: 'json', // <-- Set dataType to 'json'
|
||||
|
||||
@@ -47,7 +55,7 @@ $.ajax({
|
||||
|
||||
type: "GET",
|
||||
|
||||
url: "http://localhost:8888"+ "/jobs/load",
|
||||
url: apiURL + "/jobs/load",
|
||||
|
||||
dataType: 'json', // <-- Set dataType to 'json'
|
||||
|
||||
|
Reference in New Issue
Block a user