mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Add server hooks
This commit is contained in:
parent
66e001c848
commit
b4055e1c23
17 changed files with 422 additions and 112 deletions
|
@ -141,7 +141,7 @@ function root () {
|
|||
const paths = [ __dirname, '..', '..' ]
|
||||
|
||||
// We are under /dist directory
|
||||
if (process.mainModule && process.mainModule.filename.endsWith('.ts') === false) {
|
||||
if (process.mainModule && process.mainModule.filename.endsWith('_mocha') === false) {
|
||||
paths.push('..')
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue