cors settings, endpoint adjustments so mobile can hit
This commit is contained in:
@@ -21,7 +21,7 @@ async function openNetworkAndApp() {
|
||||
}
|
||||
|
||||
if(!global.currentNetwork.data) {
|
||||
let appData = await fetch("/app/orgdata/" + global.profile.networks[0].id, {method: "GET"})
|
||||
let appData = await fetch("/api/orgdata/" + global.profile.networks[0].id, {method: "GET"})
|
||||
let json = await appData.json()
|
||||
global.currentNetwork.data = json
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user