changeset aea9719d95e6 in trytond:default details: https://hg.tryton.org/trytond?cmd=changeset&node=aea9719d95e6 description: Add example for CORS configuration diffstat:
doc/topics/configuration.rst | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diffs (15 lines): diff -r 013abca098a7 -r aea9719d95e6 doc/topics/configuration.rst --- a/doc/topics/configuration.rst Thu Jun 09 09:29:33 2022 +0200 +++ b/doc/topics/configuration.rst Fri Jun 10 12:33:37 2022 +0200 @@ -86,6 +86,11 @@ The list (one per line) of origins allowed for `Cross-Origin Resource sharing <https://en.wikipedia.org/wiki/Cross-origin_resource_sharing>`_. +For example:: + + cors = + http://example.com + https://example.com avatar_base ~~~~~~~~~~~
