@@ -100,7 +100,7 @@ fastify.addHook('onRequest', async (request, reply) => {
const start = async () => {
try {
// 监听 3000 端口
await fastify.listen({ port: 3000 });
await fastify.listen({ port: 3000, host: '0.0.0.0'});
} catch (err) {
// 如果启动失败,打印错误日志并退出
fastify.log.error(err);
The note is not visible to the blocked user.