1
0
Fork 0
peertube/server/tests/fixtures/peertube-plugin-test-unloading/main.js
2021-04-09 09:32:16 +02:00

14 lines
253 B
JavaScript

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
}