diff --git a/public/src/client/users.js b/public/src/client/users.js index 8f648e6198..1029c9c216 100644 --- a/public/src/client/users.js +++ b/public/src/client/users.js @@ -91,7 +91,7 @@ define('forum/users', ['translator'], function(translator) { function loadPage(query) { var qs = decodeURIComponent($.param(query)); - $.get('/api/users?' + qs, renderSearchResults).fail(function(xhrErr) { + $.get(config.relative_path + '/api/users?' + qs, renderSearchResults).fail(function(xhrErr) { if (xhrErr && xhrErr.responseJSON && xhrErr.responseJSON.error) { app.alertError(xhrErr.responseJSON.error); }