Add explanation to docs about cors

This commit is contained in:
kolaente 2020-05-12 11:10:07 +02:00
parent e43e601912
commit cb095d70df
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 4 additions and 0 deletions

View File

@ -74,6 +74,8 @@ redis:
cors:
# 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
# A list of origins which may access the api.
origins:

View File

@ -117,6 +117,8 @@ redis:
cors:
# 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
# A list of origins which may access the api.
origins: