mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
chore(core-routing): CB-1026 add base uri
This commit is contained in:
@@ -15,6 +15,7 @@ import type { DoneFn } from 'router5/dist/types/base';
|
||||
|
||||
import { injectable, Bootstrap } from '@cloudbeaver/core-di';
|
||||
import { Executor, ExecutorInterrupter, IExecutor } from '@cloudbeaver/core-executor';
|
||||
import { GlobalConstants } from '@cloudbeaver/core-utils';
|
||||
|
||||
export type RouterState = State;
|
||||
|
||||
@@ -77,6 +78,7 @@ export class RouterService extends Bootstrap {
|
||||
private configure() {
|
||||
this.router.usePlugin(browserPlugin({
|
||||
useHash: true,
|
||||
base: GlobalConstants.rootURI,
|
||||
}));
|
||||
|
||||
this.router.subscribe(this.onRouteChange.bind(this));
|
||||
|
||||
Reference in New Issue
Block a user