Closed GurinderRawala closed 1 month ago
The changes in this pull request include updates to the README.md
file, which now requires users to run npm run build
after installing dependencies to build the server. Additionally, the src/api/routes/files.js
file has been enhanced with improved logging for file uploads and refined error handling for file deletions. Lastly, the CORS configuration in src/api/server.js
has been modified to allow requests from any origin, replacing a specific URL.
File | Change Summary |
---|---|
README.md | Added command npm run build in the "Get Started" section after dependency installation. |
src/api/routes/files.js | Added logging for successful file uploads and improved error handling in delete file route. |
src/api/server.js | Changed CORS configuration from a specific URL to a wildcard ('*' ) to allow requests from any origin. |
In the garden where code does bloom,
A new command dispels the gloom.
With logs to trace each file's flight,
And CORS now opens wide the light.
Build the server, let it thrive,
In this code, our dreams arrive! 🐇✨
Summary by CodeRabbit
New Features
Enhancements
Documentation