mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-13 16:22:45 +02:00
Update share endpoint to return playback session, add get share file endpoint
This commit is contained in:
@@ -10,6 +10,7 @@ class PublicRouter {
|
||||
|
||||
init() {
|
||||
this.router.get('/share/:slug', ShareController.getMediaItemShareBySlug.bind(this))
|
||||
this.router.get('/share/:slug/file/:fileid', ShareController.getMediaItemShareFile.bind(this))
|
||||
}
|
||||
}
|
||||
module.exports = PublicRouter
|
||||
|
||||
Reference in New Issue
Block a user