Compare commits

..

3 Commits

Author SHA1 Message Date
ece8338ac8 Fix misspelled TIU_TEMPLATE_SET_ITEMS 2023-04-29 18:35:08 -04:00
fdc7ed4c05 Cache-aware schedule view 2023-04-29 18:35:08 -04:00
a83e8cb22c Cache API 2023-04-29 18:34:37 -04:00

View File

@ -22,24 +22,6 @@ export async function call(cid, body) {
})).json(); })).json();
} }
/*
export async function call(cid, method, ...params) {
return await (await fetch('/v1/vista/' + cid, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ method: method, params: params, id: Date.now() })
})).json();
}
export async function callctx(cid, context, method, ...params) {
return await (await fetch('/v1/vista/' + cid, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ method: method, params: params, context: context, id: Date.now() })
})).json();
}
*/
export async function serverinfo(cid) { export async function serverinfo(cid) {
return await (await fetch('/v1/vista/' + cid + '/serverinfo', { return await (await fetch('/v1/vista/' + cid + '/serverinfo', {
method: 'POST', method: 'POST',