Update index.js

This commit is contained in:
Andras Bacsai
2024-08-14 10:28:01 +02:00
committed by GitHub
parent 2d944b6a1c
commit 9bc3dc201c

View File

@@ -3,6 +3,7 @@ const PORT = process.env.PORT || 3000
fastify.register(require('@fastify/cors'))
fastify.get('/', function (req, reply) {
console.log('hello');
return { hello: "from nodejs" }
})
fastify.get('/401', function (req, reply) {