From 391ef53716f49269cf1f4b6844477539cbe00c54 Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Sun, 5 Feb 2017 14:35:37 +1000 Subject: [PATCH] Fix up more minor issues --- assets/index.html | 2 +- assets/pastes.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/index.html b/assets/index.html index 8dafab0..62da059 100644 --- a/assets/index.html +++ b/assets/index.html @@ -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), diff --git a/assets/pastes.html b/assets/pastes.html index ef5db80..5fd248f 100644 --- a/assets/pastes.html +++ b/assets/pastes.html @@ -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),