mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 21:38:58 +00:00
Update index.js
This commit is contained in:
@@ -3,6 +3,7 @@ const PORT = process.env.PORT || 3000
|
|||||||
fastify.register(require('@fastify/cors'))
|
fastify.register(require('@fastify/cors'))
|
||||||
|
|
||||||
fastify.get('/', function (req, reply) {
|
fastify.get('/', function (req, reply) {
|
||||||
|
console.log('hello');
|
||||||
return { hello: "from nodejs" }
|
return { hello: "from nodejs" }
|
||||||
})
|
})
|
||||||
fastify.get('/401', function (req, reply) {
|
fastify.get('/401', function (req, reply) {
|
||||||
|
|||||||
Reference in New Issue
Block a user