api prefix must be relative

This commit is contained in:
brian
2021-03-25 11:57:42 -04:00
parent b27b57805f
commit 6698e8cf66
+2 -1
View File
@@ -3,7 +3,8 @@
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){
return m.request({