From f17d21ac2c11405490ed81e897cd6847b0e2b8cb Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 3 May 2022 08:54:10 -0500 Subject: add getUrlBase --- src/web/src/lib/application.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/web/src/lib/application.js b/src/web/src/lib/application.js index 0c8b8319..da5bbef5 100644 --- a/src/web/src/lib/application.js +++ b/src/web/src/lib/application.js @@ -4,6 +4,10 @@ export const getState = async () => { return (await api.get('/application')).data; }; +export const getUrlBase = async () => { + return (await api.get('/application/urlbase')).data; +} + export const restart = async () => { return api.put('/application'); }; -- cgit v1.2.3