Allow non /api url prefixes in api url

pull/14/head
Sam Bosley 13 years ago
parent f97f21ae17
commit 220cb76b6d

@ -185,6 +185,9 @@ public class ActFmInvoker {
}
});
String url = URL;
if (method.startsWith("/"))
url = url.replaceAll("/api.*", "");
StringBuilder requestBuilder = new StringBuilder(URL).append(method).append('?');
StringBuilder sigBuilder = new StringBuilder();
for(Pair<String, Object> entry : params) {

Loading…
Cancel
Save