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:
@@ -1,3 +1,5 @@
|
|||||||
|
require('dotenv').config()
|
||||||
|
|
||||||
const fastify = require('fastify')({ logger: {level: "error"}, trustProxy: true })
|
const fastify = require('fastify')({ logger: {level: "error"}, trustProxy: true })
|
||||||
const PORT = process.env.PORT || 3000
|
const PORT = process.env.PORT || 3000
|
||||||
fastify.register(require('@fastify/cors'))
|
fastify.register(require('@fastify/cors'))
|
||||||
|
|||||||
Reference in New Issue
Block a user