Closed GurinderRawala closed 4 months ago
This update enhances server documentation and functionality. It introduces a build instruction in the README, adds logging for file uploads in the routes, and broadens CORS settings in the server configuration to allow requests from any origin. These changes improve user guidance, traceability, and accessibility, although broader CORS settings may require consideration for production security.
File | Change Summary |
---|---|
README.md | Added instructions for building the server with npm run build , clarifying the setup process for users. |
src/api/routes/files.js | Introduced a logging statement in registerRoutes to indicate successful file uploads, enhancing traceability and debugging capabilities. |
src/api/server.js | Changed CORS configuration from a specific origin to a wildcard ('*'), allowing requests from any domain, increasing accessibility but raising security considerations. |
In the code, a rabbit hops,
Building servers, never stops.
Logs now sing of files well saved,
CORS now opens, paths unpaved.
With each change, we dance and play,
Coding joyfully, day by day! 🐇✨
Summary by CodeRabbit
Documentation
New Features
Chores