aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-11-24 14:29:52 -0600
committerGitHub <noreply@github.com>2026-11-24 14:29:52 -0600
commitab98c6e9e24f638d08950c335e8c860b091debf3 (patch)
treea797e73c89e42306e0121b573955726e2768eedb /config
parentf4accbf9f6437e49374682eacaf520010de5c775 (diff)
parent3d1a57c1b3bd22bdd480172d23c8b6fd350275a1 (diff)
downloadslskd-ab98c6e9e24f638d08950c335e8c860b091debf3.tar.gz
Merge pull request #1938 from slskd/cors-merge
Add the ability to change HTTP 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..1f7e1a46 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:
+# - https://app.example.com
+# allow_credentials: false
# retention:
# search: 10080 # 7 days, in minutes
# transfers: