Rm. comment.

This commit is contained in:
Dennis Postma 2024-11-16 01:21:32 +01:00
parent f7072acdd2
commit 72ef04d683

View File

@ -32,7 +32,7 @@ export class Server {
origin: config.CLIENT_URL, origin: config.CLIENT_URL,
methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'], // Add supported methods methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'], // Add supported methods
allowedHeaders: ['Content-Type', 'Authorization'], // Add allowed headers allowedHeaders: ['Content-Type', 'Authorization'], // Add allowed headers
credentials: true // Enable if you're using cookies/credentials credentials: true
}) })
) )
this.app.use(express.json()) this.app.use(express.json())