diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-05-26 16:51:49 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-05-26 16:51:49 -0500 |
| commit | 0974475adc31aa5b4179c427ba7670fc96874481 (patch) | |
| tree | 2f709b734b481becfb805d9c8d14401d10832ca2 /src | |
| parent | 592660a5ca6f88375f5ec7b7543b110bbf8479ac (diff) | |
| download | slskd-0974475adc31aa5b4179c427ba7670fc96874481.tar.gz | |
add a function to fetch options debug
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/src/lib/options.js | 4 |
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; }; |
