You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2022/11/09 13:52:03 UTC
[tika] branch main updated: TIKA-3922 -- improve/update documentation for cors
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 <ta...@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 -->