mirror of
https://github.com/owncloud/ocis
synced 2026-04-27 02:05:23 +02:00
feat(auth-app): fixed response format
Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
@@ -36,7 +36,7 @@ func DefaultConfig() *config.Config {
|
||||
Root: "/",
|
||||
CORS: config.CORS{
|
||||
AllowedOrigins: []string{"*"},
|
||||
AllowedMethods: []string{"POST"},
|
||||
AllowedMethods: []string{"GET", "POST", "DELETE"},
|
||||
AllowedHeaders: []string{"Authorization", "Origin", "Content-Type", "Accept", "X-Requested-With", "X-Request-Id", "Ocs-Apirequest"},
|
||||
AllowCredentials: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user