mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +02:00
Add job queue hooks
This commit is contained in:
parent
7a9e420a02
commit
22df69fdec
12 changed files with 151 additions and 26 deletions
|
@ -90,7 +90,10 @@ export const serverFilterHookObject = {
|
|||
|
||||
// Filter result to check if the embed is allowed for a particular request
|
||||
'filter:html.embed.video.allowed.result': true,
|
||||
'filter:html.embed.video-playlist.allowed.result': true
|
||||
'filter:html.embed.video-playlist.allowed.result': true,
|
||||
|
||||
'filter:job-queue.process.params': true,
|
||||
'filter:job-queue.process.result': true
|
||||
}
|
||||
|
||||
export type ServerFilterHookName = keyof typeof serverFilterHookObject
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue