forked from noxious/server
Rm. comment.
This commit is contained in:
parent
f7072acdd2
commit
72ef04d683
@ -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())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user