From 0974475adc31aa5b4179c427ba7670fc96874481 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 26 May 2022 16:51:49 -0500 Subject: add a function to fetch options debug --- src/web/src/lib/options.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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; }; -- cgit v1.2.3