You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2026. It is now read-only.
Today, baseUrl is equivalent to the STORAGE_EMULATOR_HOST, when available. This leads to limitations when using the client. Here's the relevant code snippet:
Ideally, STORAGE_EMULATOR_HOST should only be a host (without any path associations, e.g. http://localhost:9199) while the client calls the appropriate path on the host (e.g. /storage/v1). That implementation should look something like this: c75b8b8
This requires coordination with Firebase and updates to Firebase Storage Emulator. Additionally, we should explore practices to ensure reliability and a consistent experience between Firebase and Google Cloud Storage (e.g. code consolidation and integration testing).
Today,
baseUrlis equivalent to theSTORAGE_EMULATOR_HOST, when available. This leads to limitations when using the client. Here's the relevant code snippet:nodejs-storage/src/storage.ts
Lines 650 to 668 in 1447269
Ideally,
STORAGE_EMULATOR_HOSTshould only be a host (without any path associations, e.g.http://localhost:9199) while the client calls the appropriate path on the host (e.g./storage/v1). That implementation should look something like this: c75b8b8This requires coordination with Firebase and updates to Firebase Storage Emulator. Additionally, we should explore practices to ensure reliability and a consistent experience between Firebase and Google Cloud Storage (e.g. code consolidation and integration testing).
Related:
apiEndpoint#2400Background: