feat: remove global RELATIVE_PATH

This commit is contained in:
Barış Soner Uşaklı
2020-09-06 22:12:53 -04:00
parent 3cd3b7a172
commit 19c448612d
6 changed files with 7 additions and 9 deletions

View File

@@ -235,7 +235,7 @@ define('forum/topic', [
history.replaceState({
url: newUrl + search,
}, null, window.location.protocol + '//' + window.location.host + RELATIVE_PATH + '/' + newUrl + search);
}, null, window.location.protocol + '//' + window.location.host + config.relative_path + '/' + newUrl + search);
}
currentUrl = newUrl;
}, 500);