diff options
Diffstat (limited to 'client/src/app/core/plugins')
-rw-r--r-- | client/src/app/core/plugins/plugin.service.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/core/plugins/plugin.service.ts b/client/src/app/core/plugins/plugin.service.ts index 6a1a46e73..a3de98390 100644 --- a/client/src/app/core/plugins/plugin.service.ts +++ b/client/src/app/core/plugins/plugin.service.ts | |||
@@ -250,6 +250,11 @@ export class PluginService implements ClientHook { | |||
250 | return environment.apiUrl + `${pathPrefix}/${plugin.name}/${plugin.version}/static` | 250 | return environment.apiUrl + `${pathPrefix}/${plugin.name}/${plugin.version}/static` |
251 | }, | 251 | }, |
252 | 252 | ||
253 | getBaseRouterRoute: () => { | ||
254 | const pathPrefix = this.getPluginPathPrefix(pluginInfo.isTheme) | ||
255 | return environment.apiUrl + `${pathPrefix}/${plugin.name}/${plugin.version}/router` | ||
256 | }, | ||
257 | |||
253 | getSettings: () => { | 258 | getSettings: () => { |
254 | const path = PluginService.BASE_PLUGIN_API_URL + '/' + npmName + '/public-settings' | 259 | const path = PluginService.BASE_PLUGIN_API_URL + '/' + npmName + '/public-settings' |
255 | 260 | ||