Closed GurinderRawala closed 4 months ago
This update enhances the project's documentation and functionality. The README.md
now includes instructions for building the server, improving user guidance. Additionally, the files.js
module receives a logging feature, providing visibility into successful file uploads. The CORS configuration in server.js
is adjusted to allow requests from any origin, enhancing accessibility but requiring careful consideration of security implications.
File | Change Summary |
---|---|
README.md |
Added a new section titled "Build server" with instructions for building the server using npm. |
src/api/routes/files.js |
Introduced a logging statement in registerRoutes to indicate successful file uploads. |
src/api/server.js |
Changed CORS origin setting from a specific URL to a wildcard, allowing requests from any origin. |
🐇 In the garden where code does grow,
New paths are paved with a vibrant glow.
Logs now sing of files well shared,
And build commands show that we cared.
With open arms, our server's bright,
Welcomes all in the digital night! 🌟
Summary by CodeRabbit
Documentation
npm run build
.Improvements
Configuration Changes