Closed GurinderRawala closed 4 months ago
This update enhances the project's documentation and code observability. The README.md
now includes crucial build instructions, ensuring users understand the necessary steps to set up the server. Additionally, the file handling routes in src/api/routes/files.js
have been improved with a new logging statement to indicate successful uploads. Finally, the CORS configuration in src/api/server.js
has been made more flexible, allowing requests from any origin, which broadens the server's accessibility.
Files | Change Summary |
---|---|
README.md |
Added instructions for building the server with npm run build post dependency installation. |
src/api/routes/files.js |
Introduced a logging statement in registerRoutes to confirm successful file uploads, enhancing observability. |
src/api/server.js |
Modified CORS configuration from a specific URL to a wildcard ('*' ), increasing server accessibility. |
🐰 In the meadow, changes bloom,
A README brightens every room.
Logs now whisper, "Upload complete,"
CORS spreads joy, making access sweet.
Hops of progress, all around,
In code's embrace, new magic found! ✨
Summary by CodeRabbit
Documentation
Improvements
Configuration Changes