Skip to content

Commit ff203d2

Browse files
committed
Merge pull request atheme-legacy#35 from SpigotMC/master
Make Atheme query respect dynamic base URL
2 parents 04ea15c + 12e14f6 commit ff203d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/irc/athemequery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ qwebirc.irc.AthemeQuery.newRequest = function(command) {
1010
/* New login request. */
1111
var cacheAvoidance = qwebirc.util.randHexString(16);
1212
var r = new Request.JSON({
13-
url: "/a/" + command + "?r=" + cacheAvoidance,
13+
url: conf.frontend.dynamic_base_url + "a/" + command + "?r=" + cacheAvoidance,
1414
async: true
1515
});
1616

0 commit comments

Comments
 (0)