You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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