mirror of
https://github.com/flarum/core.git
synced 2025-08-02 14:37:49 +02:00
Fix regression in admin routing in subdirectory. fixes #1606
Because admin routing uses the "hash" strategy, the base path does not need to be taken into account.
This commit is contained in:
@@ -96,7 +96,7 @@ export default class ForumApplication extends Application {
|
||||
this.composer = m.mount(document.getElementById('composer'), Composer.component());
|
||||
|
||||
m.route.mode = 'pathname';
|
||||
super.mount();
|
||||
super.mount(this.forum.attribute('basePath'));
|
||||
|
||||
alertEmailConfirmation(this);
|
||||
|
||||
|
Reference in New Issue
Block a user