Skip to content

v0.0.6: Add allowed and denied domain lists

Pre-release
Pre-release
Compare
Choose a tag to compare
@caarmen caarmen released this 17 Jul 01:40
· 5 commits to main since this release
cff152d

Added two environment variables to configure server behavior:

  • DENIED_DOMAINS: Requests to resize images on domains in this list will result in a 422 error
  • ALLOWED_DOMAINS: If non-empty: requests to resize images on domains not in this list will result in a 422 error