-
Notifications
You must be signed in to change notification settings - Fork 906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add file.makePublic() support in Storage Emulator #3394
Comments
This is a known issue, a fix is coming this week! In the meantime you can work around it by using If your Storage security rules support unauthenticated reads you can just generate a url like |
[REQUIRED] Environment info
firebase-tools:
9.11.0
Platform: Manjaro Linux
[REQUIRED] Test case
upload-test.js:
[REQUIRED] Steps to reproduce
Terminal 1:
Terminal 2:
[REQUIRED] Expected behavior
The public URL of the file is printed to the terminal.
[REQUIRED] Actual behavior
The file is present in the storage emulator UI, and is listed as having the correct size, but the
file.makePublic()
call is failing - see entire output below:The text was updated successfully, but these errors were encountered: