Merge "Remove "enabled" in CORS guide"
This commit is contained in:
commit
495ba042f4
@ -58,10 +58,9 @@ default value is [].
|
|||||||
|
|
||||||
Request and Response example
|
Request and Response example
|
||||||
----------------------------
|
----------------------------
|
||||||
To use CORS, you should make sure that the feature is enabled::
|
The CORS feature is enabled by default in Zaqar. Here is a config example:::
|
||||||
|
|
||||||
[cors]
|
[cors]
|
||||||
enabled = true
|
|
||||||
allowed_origin = http://example
|
allowed_origin = http://example
|
||||||
allow_methods = GET
|
allow_methods = GET
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user