aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-11-22 19:16:51 -0600
committerJP Dillingham <jp@dillingham.me>2026-11-22 19:16:51 -0600
commit410ef006445358218839ea1cb19e38c86feba827 (patch)
treee0812b78f26306eec2338a8217bc3391d5fbded6 /config
parentf4accbf9f6437e49374682eacaf520010de5c775 (diff)
downloadslskd-410ef006445358218839ea1cb19e38c86feba827.tar.gz
add CORS options
Diffstat (limited to 'config')
-rw-r--r--config/slskd.example.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/slskd.example.yml b/config/slskd.example.yml
index 1edcb919..40018508 100644
--- a/config/slskd.example.yml
+++ b/config/slskd.example.yml
@@ -171,6 +171,10 @@
# key: <some example string between 16 and 255 characters>
# role: readonly # readonly, readwrite, administrator
# cidr: 0.0.0.0/0,::/0
+# cors:
+# allowed_origins:
+# - *
+# allow_credentials: false
# retention:
# search: 10080 # 7 days, in minutes
# transfers: