diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-05-03 08:54:10 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-05-03 08:54:10 -0500 |
| commit | f17d21ac2c11405490ed81e897cd6847b0e2b8cb (patch) | |
| tree | 9185d197490e7b8b16f90b12c6be9e9c3876faf5 /src/web | |
| parent | 1b17e1d8a4bf63bedbf1b62683acb30b6b0298f8 (diff) | |
| download | slskd-f17d21ac2c11405490ed81e897cd6847b0e2b8cb.tar.gz | |
add getUrlBase
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/src/lib/application.js | 4 |
1 files changed, 4 insertions, 0 deletions
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'); }; |
