Closed GurinderRawala closed 10 hours ago
The changes include updates to the README.md
file, where a new command npm run build
is added to the "Get Started" section, instructing users to build the server after installing dependencies. Additionally, the src/api/routes/files.js
file has enhancements for logging and error handling in file upload and delete routes. The src/api/server.js
file modifies the CORS configuration to allow requests from any origin, changing the origin
property to a wildcard. No alterations were made to the declarations of exported or public entities.
File Path | Change Summary |
---|---|
README.md | Added command npm run build to the "Get Started" section after installation instructions. |
src/api/routes/files.js | Added logging for successful file uploads and improved error handling for delete operations. |
src/api/server.js | Changed CORS configuration from specific URL to wildcard ('*' ) to allow requests from any origin. |
In the garden where code does bloom,
A command to build dispels the gloom.
Logs now tell tales of files we share,
While CORS opens doors, showing we care.
With each change, our project takes flight,
A rabbit's delight, coding feels right! 🐇✨
Summary by CodeRabbit
New Features
npm run build
.Improvements
Documentation