pis #1

Closed
fred.boniface wants to merge 51 commits from pis into dev
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 096a74b4bb - Show all commits

View File

@ -128,7 +128,7 @@ async function getQuery(param) {
async function getApi(path,auth = false) {
let apiVer = 'v1'
let url = `https://${window.location.origin}/api/${apiVer}/${path}`
let url = `${window.location.origin}/api/${apiVer}/${path}`
log(`getApi: Fetching from endpoint: ${url}, Auth=${auth}`)
try {
var resp = await fetch(url)