You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
main
${ noResults }
22 lines
319 B
JavaScript
22 lines
319 B
JavaScript
const print = require('a-native-example')
|
|||
|
|||
async function register ({ getRouter }) {
|
|||
print('hello world')
|
|||
|
|||
const router = getRouter()
|
|||
|
|||
router.get('/', (req, res) => {
|
|||
print('hello world')
|
|||
res.sendStatus(204)
|
|||
})
|
|||
}
|
|||
|
|||
async function unregister () {
|
|||
return
|
|||
}
|
|||
|
|||
module.exports = {
|
|||
register,
|
|||
unregister
|
|||
}
|