fatsify核心功能示例测试!!!
This commit is contained in:
9
node_modules/fastify/test/bundler/esbuild/src/index.js
generated
vendored
Normal file
9
node_modules/fastify/test/bundler/esbuild/src/index.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
'use strict'
|
||||
|
||||
const fastify = require('../../../../')()
|
||||
// Declare a route
|
||||
fastify.get('/', function (request, reply) {
|
||||
reply.send({ hello: 'world' })
|
||||
})
|
||||
|
||||
module.exports = fastify
|
||||
Reference in New Issue
Block a user