Use peertubeHelpers.plugin methods when available:
* getBaseStaticRoute use peertubeHelper when available * getBaseRouter renamed getBaseRouterRoute and use peertubeHelper when available * Backward compatibility is maintained.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { getBaseRouter } from './helpers'
|
||||
import { getBaseRouterRoute } from './helpers'
|
||||
import { ensureProsodyRunning, ensureProsodyNotRunning } from './prosody/ctl'
|
||||
|
||||
export function initSettings (options: RegisterServerOptions): void {
|
||||
@ -49,7 +49,7 @@ There is 3 way to use it:
|
||||
</ul>
|
||||
<br>
|
||||
Before asking for help, please use this diagnostic tool:
|
||||
<a href="${getBaseRouter()}settings/diagnostic" target="_blank">Launch diagnostic</a>
|
||||
<a href="${getBaseRouterRoute(options)}settings/diagnostic" target="_blank">Launch diagnostic</a>
|
||||
<br>`
|
||||
})
|
||||
registerSetting({
|
||||
|
Reference in New Issue
Block a user