Closed GurinderRawala closed 1 month ago
The changes in this pull request include updates to the README.md
file to add a command for building the server as part of the setup instructions. Additionally, enhancements were made to the API routes in src/api/routes/files.js
, including new logging for successful file uploads and improved error handling in the delete file route. Lastly, the CORS configuration in src/api/server.js
was modified to allow requests from any origin, broadening server accessibility.
File Path | Change Summary |
---|---|
README.md | Added npm run build command to the "Get Started" section for server initialization. |
src/api/routes/files.js | Added logging for successful file uploads and improved error handling in the delete file route. |
src/api/server.js | Modified CORS configuration to allow requests from any origin by changing origin to '*' . |
In the meadow where bunnies play,
A new command brightens the day.
With logs to guide and errors tamed,
Our server's now better, unashamed!
Hop along, let’s build with cheer,
For every change brings us near! 🐇✨
Summary by CodeRabbit
New Features
Improvements