mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
10 lines
325 B
JavaScript
10 lines
325 B
JavaScript
const express = require('express')
|
|
const LibraryController = require('../controllers2/library.controller')
|
|
|
|
const router = express.Router()
|
|
|
|
router.get('/', LibraryController.getAllLibraries)
|
|
router.get('/:id', LibraryController.getLibrary)
|
|
router.get('/:id/items', LibraryController.getLibraryItems)
|
|
|
|
module.exports = router |