fix duplicate api.js load, frontend stable
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
|
||||
window.resources = []
|
||||
|
||||
async function loadResources(){
|
||||
|
||||
const resources = await api(API + "/resources/active");
|
||||
window.resources = await api(API + "/resources/active")
|
||||
const resources = window.resources
|
||||
|
||||
const mappings = await api(API + "/domainmap");
|
||||
|
||||
const table = document.getElementById("resources");
|
||||
|
||||
Reference in New Issue
Block a user