Closed GurinderRawala closed 3 weeks ago
The changes in this pull request include updates to the README.md
file to add a command for building the server after installing dependencies. Additionally, enhancements were made to the file upload and delete routes in src/api/routes/files.js
, which include improved logging for successful uploads and refined error handling for deletions. Lastly, the CORS configuration in src/api/server.js
was modified to allow requests from any origin by changing the origin
property to a wildcard.
File | Change Summary |
---|---|
README.md | Added npm run build command in the "Get Started" section after installation of dependencies. |
src/api/routes/files.js | Added logging for successful file uploads and improved error handling for file deletions. |
src/api/server.js | Changed CORS origin property from a specific URL to a wildcard ('*' ) to allow all origins. |
In the garden of code, where changes bloom,
A command to build, dispelling the gloom.
With logs that sing of uploads so bright,
And errors now caught, bringing clarity's light.
CORS opens wide, for all to partake,
A server that welcomes, for all our sake! 🐇✨
Summary by CodeRabbit
New Features
Improvements
Configuration Changes