mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 13:28:57 +00:00
Update index.js
This commit is contained in:
@@ -6,7 +6,7 @@ fastify.get('/', function (req, reply) {
|
||||
return { hello: "from nodejs" }
|
||||
})
|
||||
fastify.get('/env', function (req, reply) {
|
||||
return { env: process.env.NODE_ENV }
|
||||
return { env: process.env }
|
||||
})
|
||||
|
||||
fastify.get('/health', function (req, reply) {
|
||||
@@ -25,4 +25,4 @@ const start = async () => {
|
||||
process.exit(1)
|
||||
}
|
||||
}
|
||||
start()
|
||||
start()
|
||||
|
||||
Reference in New Issue
Block a user