aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-01-30 18:15:12 -0600
committerGitHub <noreply@github.com>2026-01-30 18:15:12 -0600
commit09eabbce7d9bd4d42ffa9c30f97faa909a9ff8b0 (patch)
tree19e3a3da819dcd0568a10377fe8a6eacf3998902 /src/web
parent92b49b7a4035822240ba51ffdf3383eb9a30b164 (diff)
parentd2bf89cc204e89c04f66b778d9f94e325deb5a3d (diff)
downloadslskd-09eabbce7d9bd4d42ffa9c30f97faa909a9ff8b0.tar.gz
Merge pull request #1623 from slskd/runtime-config
Add the ability to apply an options 'overlay' at run-time; enabling update of listen IP and port
Diffstat (limited to 'src/web')
-rw-r--r--src/web/src/lib/options.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/src/lib/options.js b/src/web/src/lib/options.js
index 620be946..1c3c55c5 100644
--- a/src/web/src/lib/options.js
+++ b/src/web/src/lib/options.js
@@ -21,5 +21,5 @@ export const validateYaml = async ({ yaml }) => {
};
export const updateYaml = async ({ yaml }) => {
- return (await api.post('/options/yaml', yaml)).data;
+ return (await api.put('/options/yaml', yaml)).data;
};