diff --git a/packages/@uppy/companion-client/src/RequestClient.js b/packages/@uppy/companion-client/src/RequestClient.js index 22cd88e17e..5e32d83209 100644 --- a/packages/@uppy/companion-client/src/RequestClient.js +++ b/packages/@uppy/companion-client/src/RequestClient.js @@ -115,7 +115,7 @@ export default class RequestClient { const response = await fetch(this.#getUrl(path), { method: 'OPTIONS' }) const header = response.headers.get('access-control-allow-headers') - if (header == null) { + if (header == null || header === '*') { allowedHeadersCache.set(this.hostname, fallbackAllowedHeaders) return fallbackAllowedHeaders }