Add Docker deployment config and production CORS
- Dockerfile with multi-stage build (builder + production) - docker-compose.yml for EC2 deployment with SSH localhost - Add status.eventifyplus.com to CORS origins Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -15,7 +15,7 @@ const app = express();
|
||||
// ── Middleware ──
|
||||
app.use(
|
||||
cors({
|
||||
origin: ['http://localhost:5173', 'http://localhost:5174'],
|
||||
origin: ['http://localhost:5173', 'http://localhost:5174', 'https://status.eventifyplus.com'],
|
||||
credentials: true,
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user