Closed GurinderRawala closed 3 weeks ago
The changes in this pull request involve updates to the README.md
file to include a new command for building the server, enhancements to logging and error handling in the file upload and deletion routes within src/api/routes/files.js
, and modifications to the CORS configuration in src/api/server.js
. The CORS settings have been adjusted to allow requests from any origin, improving accessibility. No alterations were made to exported or public entity declarations.
File Path | Change Summary |
---|---|
README.md | Added npm run build command in "Get Started" section for server setup. |
src/api/routes/files.js | Added logging for successful file uploads and improved error handling in file deletion route. |
src/api/server.js | Modified CORS configuration to allow requests from any origin by changing origin to '*' . |
In the meadow where code does bloom,
A build command chases away the gloom.
With logs that cheer and errors that sing,
Our server's ready, let the joy take wing!
From every corner, requests can flow,
A world of access, watch our project grow! 🐇✨
Summary by CodeRabbit
New Features
Improvements