Reputation: 9724
In my Play application I've implemented a filter that enables CORS by defaul... but since the backend also sends emails to users (e.g. password reset, user verification after registration, etc.) and these HTML emails need to access some public assets (i.e. icons, logo, etc), I'm wondering how to let anyone access all assets in /public
.
Upvotes: 0
Views: 24
Reputation: 14401
If you haven't implemented any authentication logic yet everything should be publicly accessible. It is up to an e-mail client if it allows external http resources in mail content and CORS has nothing to do with it.
Upvotes: 1