Rename existing Endoleap proxy and configuration in place [skip ci]
This commit is contained in:
@@ -55,7 +55,7 @@ globalThis.ResizeObserver = window.ResizeObserver = class {
|
||||
let apiMock = null;
|
||||
const requests = [];
|
||||
globalThis.fetch = async (url, options) => {
|
||||
if (apiMock && String(url).startsWith("/api/foundry/")) return apiMock(url, options);
|
||||
if (apiMock && String(url).startsWith("/api/bedrock/")) return apiMock(url, options);
|
||||
requests.push(String(url));
|
||||
assert.ok(String(url).startsWith("/canvas-icons/"), `Unexpected network request ${url}`);
|
||||
if (options?.signal?.aborted) throw new DOMException("Aborted", "AbortError");
|
||||
|
||||
Reference in New Issue
Block a user