10 lines
182 B
JavaScript
10 lines
182 B
JavaScript
'use strict'
|
|
|
|
const fastify = require('../../../../')()
|
|
// Declare a route
|
|
fastify.get('/', function (request, reply) {
|
|
reply.send({ hello: 'world' })
|
|
})
|
|
|
|
module.exports = fastify
|