Skip to content

Commit

Permalink
Remove auth requirement for storage uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
akrolsmir committed Jan 20, 2023
1 parent cbd7b2f commit ffa72e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion storage.rules
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read;
allow write: if request.auth != null && request.resource.size <= 10 * 1024 * 1024; // 10MB
// Don't require auth, as dream uploads can be done by anyone
allow write: if request.resource.size <= 10 * 1024 * 1024; // 10MB
}
}
}

3 comments on commit ffa72e9

@vercel
Copy link

@vercel vercel bot commented on ffa72e9 Jan 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./docs

docs-git-main-mantic.vercel.app
docs.manifold.markets
docs-pi-teal.vercel.app
docs-mantic.vercel.app

@vercel
Copy link

@vercel vercel bot commented on ffa72e9 Jan 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on ffa72e9 Jan 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

dev – ./web

dev-mantic.vercel.app
dev-manifold.vercel.app
dev-git-main-mantic.vercel.app
dev.manifold.markets

Please sign in to comment.