Skip to content

v2.1.0

Latest

Choose a tag to compare

@M336G M336G released this 06 Sep 17:18
  • Added MAX_CONCURRENT_UPLOADS to limit the number of POST / requests that can be made at the same time
  • Added ALLOWED_ORIGINS to restrict the origins from which requests are made (if left unset, any origin will be able to make requests to the instance)
  • Fixed MAX_CONCURRENT_CONVERSIONS being applied independently for each worker created instead of being global
  • Created a routine to clean up stale files (older than 30 minutes) instead of deleting the entire conversions directory every time the project is started; not only does this ensure stale files cannot accumulate forever if the server is not restarted for extended periods of time, but it also allows multiple instances to run on the same machine without deleting each other's directories
  • Made the code for conversions much safer overall
  • Converted public/images/cat.png to public/images/cat.webp