aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-05-26 16:51:49 -0500
committerJP Dillingham <jp@dillingham.me>2022-05-26 16:51:49 -0500
commit0974475adc31aa5b4179c427ba7670fc96874481 (patch)
tree2f709b734b481becfb805d9c8d14401d10832ca2 /src/web
parent592660a5ca6f88375f5ec7b7543b110bbf8479ac (diff)
downloadslskd-0974475adc31aa5b4179c427ba7670fc96874481.tar.gz
add a function to fetch options debug
Diffstat (limited to 'src/web')
-rw-r--r--src/web/src/lib/options.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/web/src/lib/options.js b/src/web/src/lib/options.js
index 20f8dd0a..32e48534 100644
--- a/src/web/src/lib/options.js
+++ b/src/web/src/lib/options.js
@@ -4,6 +4,10 @@ export const getCurrent = async () => {
return (await api.get('/options')).data;
};
+export const getCurrentDebugView = async () => {
+ return (await api.get('/options/debug')).data;
+};
+
export const getYaml = async () => {
return (await api.get('/options/yaml')).data;
};