mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
More CORS headers settings related to https://github.com/wekan/wekan/pull/2429
Thanks to xet7 !
This commit is contained in:
parent
e540148d09
commit
86e7e1c600
4 changed files with 17 additions and 0 deletions
|
|
@ -56,6 +56,10 @@ function wekan_repo_check(){
|
|||
#---------------------------------------------
|
||||
# CORS: Set Access-Control-Allow-Origin header. Example: *
|
||||
#export CORS=*
|
||||
# To enable the Set Access-Control-Allow-Headers header. "Authorization,Content-Type" is required for cross-origin use of the API.
|
||||
#export CORS_ALLOW_HEADERS=Authorization,Content-Type
|
||||
# To enable the Set Access-Control-Expose-Headers header. This is not needed for typical CORS situations. Example: *
|
||||
#export CORS_EXPOSE_HEADERS=*
|
||||
#---------------------------------------------
|
||||
## Optional: Integration with Matomo https://matomo.org that is installed to your server
|
||||
## The address of the server where Matomo is hosted:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue