mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-21 13:54:41 -04:00
add Purge and Restore Headers
This commit is contained in:
1 parent
94697aa518
commit
ffe0e71337
1 file changed
+1
-1
@@ -33,7 +33,7 @@ func DefaultConfig() *config.Config {
|
||||
CORS: config.CORS{
|
||||
AllowedOrigins: []string{"*"},
|
||||
AllowedMethods: []string{"GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"},
|
||||
AllowedHeaders: []string{"Authorization", "Origin", "Content-Type", "Accept", "X-Requested-With"},
|
||||
AllowedHeaders: []string{"Authorization", "Origin", "Content-Type", "Accept", "X-Requested-With", "Purge", "Restore"},
|
||||
AllowCredentials: true,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user