pis #2

Merged
fred.boniface merged 76 commits from pis into main 2023-05-06 21:53:45 +01:00
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) { async function getApi(path,auth = false) {
let apiVer = 'v1' 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}`) log(`getApi: Fetching from endpoint: ${url}, Auth=${auth}`)
try { try {
var resp = await fetch(url) var resp = await fetch(url)