PeerTube/packages/tests/fixtures/peertube-plugin-test-unloading/main.js

15 lines
253 B
JavaScript
Raw Normal View History

2021-04-08 10:19:12 -05:00
const lib = require('./lib')
async function register ({ getRouter }) {
const router = getRouter()
router.get('/get', (req, res) => res.json({ message: lib.value }))
}
async function unregister () {
}
module.exports = {
register,
unregister
}