change couchdb/config
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
[_node/_local/chttpd]
|
||||
[httpd]
|
||||
enable_cors = true
|
||||
|
||||
[_node/_local/cors]
|
||||
; Changed in version 3.2: moved from [httpd] to [chttpd] section
|
||||
[chttpd]
|
||||
enable_cors = true
|
||||
|
||||
[cors]
|
||||
headers = accept, authorization, content-type, origin, referer
|
||||
methods = GET, PUT, POST, HEAD, DELETE
|
||||
credentials = true
|
||||
|
||||
Reference in New Issue
Block a user