fix: use prisma db push for schema creation, add trust proxy for rate limiter

This commit is contained in:
BetterHuman
2026-05-06 03:56:03 +00:00
parent f5067cc19f
commit ca294ae74e
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -24,6 +24,9 @@ import notificationsRouter from './routes/notifications';
const app = express();
const PORT = parseInt(process.env.PORT || '3000', 10);
// Trust Coolify/Traefik reverse proxy
app.set('trust proxy', 1);
// Security
app.use(helmet({ contentSecurityPolicy: false }));