Fix up more minor issues

This commit is contained in:
Eliot Whalan 2017-02-05 14:35:37 +10:00
parent 52db5b1364
commit 391ef53716
No known key found for this signature in database
GPG Key ID: C0A42175139840D6
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@
webreq : true };
$.ajax({
url: "http://localhost:9999/api",
url: "{{.UrlAddress}}" + "/api",
type: 'POST',
contentType: "application/json; charset=utf-8",
data: JSON.stringify(json_data),

View File

@ -100,7 +100,7 @@
webreq : true };
$.ajax({
url: "http://localhost:9999/api/" + Id,
url: "/api/" + Id,
type: 'DELETE',
contentType: "application/json; charset=utf-8",
data: JSON.stringify(json_data),