This commit is contained in:
yohlo
2025-09-25 16:42:55 -05:00
parent b3ebf46afa
commit 92c4987372
8 changed files with 1615 additions and 17 deletions

View File

@@ -14,6 +14,7 @@ const setupFetchInterceptor = () => {
if (typeof window === 'undefined') return;
const originalFetch = window.fetch;
//@ts-ignore
window.fetch = async (resource: RequestInfo | URL, options?: RequestInit) => {
const url = typeof resource === 'string' ? resource :
resource instanceof URL ? resource.toString() : resource.url;