Skip to content

Commit d45e63d

Browse files
committed
reverting logic to determine serverBasePath
1 parent d6ffb18 commit d45e63d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugins/spaces/public/plugin.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class SpacesPlugin implements Plugin<SpacesPluginSetup, SpacesPluginStart
4343
private managementService?: ManagementService;
4444

4545
public setup(core: CoreSetup, plugins: PluginsSetup) {
46-
const serverBasePath = core.http.basePath.get();
46+
const serverBasePath = core.injectedMetadata.getInjectedVar('serverBasePath') as string;
4747
this.spacesManager = new SpacesManager(serverBasePath, core.http);
4848

4949
if (plugins.home) {

0 commit comments

Comments
 (0)