summaryrefslogtreecommitdiffstats
path: root/extra/example_config.toml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-08-26 17:34:52 -0700
committerBryan Newbold <bnewbold@archive.org>2020-08-26 17:41:57 -0700
commit0ae4c0db603b2eaa891eaae2d7714b1ce4390daf (patch)
treeaac3e8e98345a6079d1f4bea387baa9c19ce86e3 /extra/example_config.toml
parent992c0fb01ba693afd08dbf48eb52593cf58cf05c (diff)
downloades-public-proxy-0ae4c0db603b2eaa891eaae2d7714b1ce4390daf.tar.gz
es-public-proxy-0ae4c0db603b2eaa891eaae2d7714b1ce4390daf.zip
CORS headers
Diffstat (limited to 'extra/example_config.toml')
-rw-r--r--extra/example_config.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/example_config.toml b/extra/example_config.toml
index 1baa536..dab2d7d 100644
--- a/extra/example_config.toml
+++ b/extra/example_config.toml
@@ -2,6 +2,7 @@
bind_addr = "127.0.0.1:9292"
upstream_addr = "127.0.0.1:9200"
unsafe_all_indices = false
+enable_cors = true
# Index-level configuration
[[index]]