Fix up more minor issues
This commit is contained in:
parent
52db5b1364
commit
391ef53716
|
@ -178,7 +178,7 @@
|
||||||
webreq : true };
|
webreq : true };
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "http://localhost:9999/api",
|
url: "{{.UrlAddress}}" + "/api",
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
contentType: "application/json; charset=utf-8",
|
contentType: "application/json; charset=utf-8",
|
||||||
data: JSON.stringify(json_data),
|
data: JSON.stringify(json_data),
|
||||||
|
|
|
@ -100,7 +100,7 @@
|
||||||
webreq : true };
|
webreq : true };
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "http://localhost:9999/api/" + Id,
|
url: "/api/" + Id,
|
||||||
type: 'DELETE',
|
type: 'DELETE',
|
||||||
contentType: "application/json; charset=utf-8",
|
contentType: "application/json; charset=utf-8",
|
||||||
data: JSON.stringify(json_data),
|
data: JSON.stringify(json_data),
|
||||||
|
|
Loading…
Reference in New Issue