api prefix must be relative

stable
brian 4 years ago
parent b27b57805f
commit 6698e8cf66

@ -3,7 +3,8 @@
const api = {}; const api = {};
let prefix = "/api"; // not `/api` (relative to domain root) nor `//api` (results in https:///api/...)
let prefix = "api";
api.post = function(url, body){ api.post = function(url, body){
return m.request({ return m.request({

Loading…
Cancel
Save