diff --git a/src/util/data.js b/src/util/data.js index c1f6659..b70449d 100644 --- a/src/util/data.js +++ b/src/util/data.js @@ -107,4 +107,10 @@ export async function approveTask(runid, taskid) { } let res = await fetch(apiurl(path), init) return res.json(); +} + +export async function fetchRemoteSources() { + let path = "/remotesources" + let res = await fetch(apiurl(path)); + return res.json(); } \ No newline at end of file diff --git a/src/views/Login.vue b/src/views/Login.vue index 17b00cb..70fa7fa 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -19,8 +19,10 @@