mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
feat: remove global RELATIVE_PATH
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user