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.
143143
144144For more information, visit https://firebase.google.com/docs/storage/web/download-files#cors_configuration
145145
146+ Then, make sure you have anonymous sign-in provider enabled:
147+
146148#### Authentication Support
147149
148150Visit 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(
150150 const useSsl = isCloudWorkstation ( host ) ;
151151 // Workaround to get cookies in Firebase Studio
152152 if ( useSsl ) {
153- void pingServer ( `https://${ storage . host } ` ) ;
153+ void pingServer ( `https://${ storage . host } /b ` ) ;
154154 updateEmulatorBanner ( 'Storage' , true ) ;
155155 }
156156 storage . _isUsingEmulator = true ;
You can’t perform that action at this time.
0 commit comments