We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b97eab3 commit d035ea0Copy full SHA for d035ea0
packages/storage/src/platform/browser/connection.ts
@@ -70,7 +70,7 @@ abstract class XhrConnection<T extends ConnectionType>
70
if (this.sent_) {
71
throw internalError('cannot .send() more than once');
72
}
73
- if (isCloudWorkstation(url) && isUsingEmulator) {
+ if (isCloudWorkstation(new URL(url).hostname) && isUsingEmulator) {
74
this.xhr_.withCredentials = true;
75
76
this.sent_ = true;
0 commit comments