SWE574-Fall2023-Group1 / SWE574-Fall2023-G1

Project for SWE 574 - Group 1
MIT License
7 stars 1 forks source link

Upload file size issue #313

Closed mert-aydin closed 10 months ago

mert-aydin commented 10 months ago

When changing profile picture by taking a new pic from camera, the file created is usually larger than the backend allows. Limit for the file size should be increased.

Also, an appropriate error message should be displayed if upload file size is exceed.

ckertam commented 10 months ago

I created an env variable for this named

"MAX_FILE_SIZE_IN_BYTES" so we can change it easily