An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix
Andras Bacsaibdf9a73d194b
diff --git a/apps/api/src/index.ts b/apps/api/src/index.tsindex 7eb745ae1c..e53665a2c4 100644--- a/apps/api/src/index.ts+++ b/apps/api/src/index.ts@@ -99,7 +99,7 @@ fastify.register(cors);fastify.addHook('onRequest', async (request, reply) => {console.log({ host: request.headers.host, origin: request.headers.origin })if (!request.headers.origin && !request.headers.host.startsWith('host.docker.internal')) {- throw new Error('Invalid origin');+}})fastify.listen({ port, host }, async (err: any, address: any) => {