Builtin prosody use a working dir provided by Peertube.

This commit is contained in:
John Livingston
2021-05-11 15:37:34 +02:00
parent 0305b849cf
commit 094193a3b1
5 changed files with 49 additions and 8 deletions

View File

@ -154,6 +154,12 @@ interface PeerTubeHelpers {
user?: {
getAuthUser: (res: express.Response) => Promise<MUserDefault | undefined>
}
// Added in Peertube 3.2.0
plugin?: {
getBaseStaticRoute: () => string
getBaseRouterRoute: () => string
getDataDirectoryPath: () => string
}
}
interface RegisterServerOptions {