mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-06-20 00:58:30 +00:00
Update index.js
This commit is contained in:
1 parent
e331e5e8da
commit
0a3e28e770
1 file changed
+2
@@ -1,3 +1,5 @@
|
||||
require('dotenv').config()
|
||||
|
||||
const fastify = require('fastify')({ logger: {level: "error"}, trustProxy: true })
|
||||
const PORT = process.env.PORT || 3000
|
||||
fastify.register(require('@fastify/cors'))
|
||||
|
||||
Reference in new issue
Block a user