ニジカ投稿局 https://tv.nizika.tv
You can not 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.js 319 B

123456789101112131415161718192021
  1. const print = require('a-native-example')
  2. async function register ({ getRouter }) {
  3. print('hello world')
  4. const router = getRouter()
  5. router.get('/', (req, res) => {
  6. print('hello world')
  7. res.sendStatus(204)
  8. })
  9. }
  10. async function unregister () {
  11. return
  12. }
  13. module.exports = {
  14. register,
  15. unregister
  16. }