Add explanation to docs about cors
This commit is contained in:
parent
e43e601912
commit
cb095d70df
2 changed files with 4 additions and 0 deletions
|
@ -74,6 +74,8 @@ redis:
|
||||||
|
|
||||||
cors:
|
cors:
|
||||||
# Whether to enable or disable cors headers.
|
# Whether to enable or disable cors headers.
|
||||||
|
# Note: If you want to put the frontend and the api on seperate domains or ports, you will need to enable this.
|
||||||
|
# Otherwise the frontend won't be able to make requests to the api through the browser.
|
||||||
enable: true
|
enable: true
|
||||||
# A list of origins which may access the api.
|
# A list of origins which may access the api.
|
||||||
origins:
|
origins:
|
||||||
|
|
|
@ -117,6 +117,8 @@ redis:
|
||||||
|
|
||||||
cors:
|
cors:
|
||||||
# Whether to enable or disable cors headers.
|
# Whether to enable or disable cors headers.
|
||||||
|
# Note: If you want to put the frontend and the api on seperate domains or ports, you will need to enable this.
|
||||||
|
# Otherwise the frontend won't be able to make requests to the api through the browser.
|
||||||
enable: true
|
enable: true
|
||||||
# A list of origins which may access the api.
|
# A list of origins which may access the api.
|
||||||
origins:
|
origins:
|
||||||
|
|
Loading…
Reference in a new issue