%PDF- %PDF-
| Direktori : /home2/rezakur1/api.rezakurnia.com/zh-router/node_modules/fastify/examples/ |
| Current File : //home2/rezakur1/api.rezakurnia.com/zh-router/node_modules/fastify/examples/plugin.js |
'use strict'
module.exports = function (fastify, opts, done) {
fastify
.get('/', opts, function (req, reply) {
reply.send({ hello: 'world' })
})
.post('/', opts, function (req, reply) {
reply.send({ hello: 'world' })
})
done()
}