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

15 lines
253 B
JavaScript
Raw Normal View History

2021-04-08 17:19:12 +02: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
}