aboutsummaryrefslogtreecommitdiffhomepage
path: root/packages/tests/fixtures/peertube-plugin-test-unloading/main.js
blob: 5c8457cef9cdd080e67911e9c5b615ed0889f9c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
}