This is an automated email from the ASF dual-hosted git repository. tallison pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/main by this push: new 71f35d697 TIKA-3922 -- improve/update documentation for cors 71f35d697 is described below commit 71f35d6979f0ef8dc41f37c24e91fd2a963e8683 Author: tballison <talli...@apache.org> AuthorDate: Wed Nov 9 08:51:52 2022 -0500 TIKA-3922 -- improve/update documentation for cors --- .../src/main/resources/tika-server-config-default.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tika-server/tika-server-core/src/main/resources/tika-server-config-default.xml b/tika-server/tika-server-core/src/main/resources/tika-server-config-default.xml index 5e5321892..5593d7d2d 100644 --- a/tika-server/tika-server-core/src/main/resources/tika-server-config-default.xml +++ b/tika-server/tika-server-core/src/main/resources/tika-server-config-default.xml @@ -34,10 +34,10 @@ If not specified, a UUID will be generated. --> <id>my-id</id> - <!-- whether or not to allow CORS requests. Set to 'all' if you - want to allow all CORS requests. Set to NONE or leave blank - if you do not want to enable CORS. --> - <cors>NONE</cors> + <!-- Origin URL for cors requests. Set to '*' if you + want to allow all CORS requests. Leave blank or remove element + if you do not want to enable CORS. --> + <cors></cors> <!-- which digests to calculate, comma delimited (e.g. md5,sha256); optionally specify encoding followed by a colon (e.g. "sha1:32"). Can be empty if you don't want to calculate a digest -->