我尝试在云功能中部署一个示例进行测试但不起作用,我的代码是:
`const functions = require('firebase-functions');
const Fastify = require('fastify')
const fastify = Fastify()
fastify.get("/",async (req, reply) =>{
reply.send({ hello: "world" })
})
fastify.listen(3000)
module.exports = { api: functions.https.onRequest(fastify) };`
有人知道如何将fastify的服务器部署为express