File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @firebase/storage ' : patch
3
+ ---
4
+
5
+ Fixed issue where Firebase Studio wasn't populating cookies for Storage users
Original file line number Diff line number Diff line change @@ -143,6 +143,8 @@ and follow the instructions to login.
143
143
144
144
For more information, visit https://firebase.google.com/docs/storage/web/download-files#cors_configuration
145
145
146
+ Then, make sure you have anonymous sign-in provider enabled:
147
+
146
148
#### Authentication Support
147
149
148
150
Visit the authentication config in your project and enable the ` Anonymous `
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ export function connectStorageEmulator(
150
150
const useSsl = isCloudWorkstation ( host ) ;
151
151
// Workaround to get cookies in Firebase Studio
152
152
if ( useSsl ) {
153
- void pingServer ( `https://${ storage . host } ` ) ;
153
+ void pingServer ( `https://${ storage . host } /b ` ) ;
154
154
updateEmulatorBanner ( 'Storage' , true ) ;
155
155
}
156
156
storage . _isUsingEmulator = true ;
You can’t perform that action at this time.
0 commit comments