diff --git a/app/static/main.js b/app/static/main.js index 4f1f58b..05374e4 100644 --- a/app/static/main.js +++ b/app/static/main.js @@ -101,7 +101,7 @@ function uploadACL(obj) { }); $.ajax({ - url: "/policy/upload", + url: "policy/upload", type: "POST", xhrFields: { withCredentials: true, diff --git a/app/templates/policy.html b/app/templates/policy.html index 438d552..2bba5d8 100644 --- a/app/templates/policy.html +++ b/app/templates/policy.html @@ -17,8 +17,8 @@ {{policy.updatedAt | htime_dt }}