Enable the cors middleware.
false Copy
false
CORS_ENABLED
The headers to allow.
'Origin,X-Requested-With,Content-Type,Accept,Authorization' Copy
'Origin,X-Requested-With,Content-Type,Accept,Authorization'
CORS_HEADERS
The methods to allow.
'GET,HEAD,PUT,PATCH,POST,DELETE' Copy
'GET,HEAD,PUT,PATCH,POST,DELETE'
CORS_METHODS
The origin(s) to allow.
'*' Copy
'*'
CORS_ORIGIN
Enable the cors middleware.