diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-01-15 05:05:27 +0800 |
---|---|---|
committer | techknowlogick <hello@techknowlogick.com> | 2019-01-14 16:05:27 -0500 |
commit | 270fa6d63b9a25021d9663bd6162f4933b7eb5ff (patch) | |
tree | eccb0176116ee5c8daa88a5fe68720578cb675e9 /docs | |
parent | 5a081c7a800bbd94a4f8313f3b379c2691c05510 (diff) | |
download | gitea-270fa6d63b9a25021d9663bd6162f4933b7eb5ff.tar.gz gitea-270fa6d63b9a25021d9663bd6162f4933b7eb5ff.zip |
Support CORS headers to git smart http protocol (#5719)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index a1526cf439..6fe98f809b 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -62,6 +62,9 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`. HTTP protocol. - `USE_COMPAT_SSH_URI`: **false**: Force ssh:// clone url instead of scp-style uri when default SSH port is used. +- `ACCESS_CONTROL_ALLOW_ORIGIN`: **\<empty\>**: Value for Access-Control-Allow-Origin header, + default is not to present. **WARNING**: This maybe harmful to you website if you do not + give it a right value. ### Repository - Pull Request (`repository.pull-request`) - `WORK_IN_PROGRESS_PREFIXES`: **WIP:,\[WIP\]**: List of prefixes used in Pull Request |