Rename existing Endoleap proxy and configuration in place [skip ci]

This commit is contained in:
2026-11-19 19:33:12 +08:00
parent 0870ac7487
commit c8b9e10a30
22 changed files with 305 additions and 310 deletions
+1 -1
View File
@@ -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");