Fix plugin for PeerTube v8.0.2 validation

PeerTube v8.0.2 requires a "bugs" field in package.json and an
unregister() export in main.js. Add both to pass plugin validation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matt 2026-04-28 01:55:47 +00:00
commit c04ccc5011
2 changed files with 7 additions and 2 deletions

View file

@ -25,4 +25,8 @@ async function register ({ videoCategoryManager }) {
} }
} }
module.exports = { register } async function unregister () {
return
}
module.exports = { register, unregister }

View file

@ -16,5 +16,6 @@
"staticDirs": {}, "staticDirs": {},
"css": [], "css": [],
"clientScripts": [], "clientScripts": [],
"translations": {} "translations": {},
"bugs": "https://forge.echo6.co/matt/recon/issues"
} }