Closed GurinderRawala closed 4 months ago
This update enhances the documentation with a new "Build server" section in the README.md
, providing users with clear build instructions. Additionally, a logging statement is added to the registerRoutes
function in src/api/routes/files.js
to improve traceability of file uploads. The CORS configuration in src/api/server.js
is modified to allow requests from any origin, increasing API accessibility while raising potential security considerations.
Files | Change Summary |
---|---|
README.md |
Added "Build server" section with npm run build command for clear build instructions. |
src/api/routes/files.js |
Introduced a logging statement in registerRoutes to enhance traceability of file uploads. |
src/api/server.js |
Changed CORS origin from 'http://localhost:3000' to '*' , allowing requests from any origin. |
In the meadow where rabbits play,
New changes bloom like flowers in May.
Build the server, watch it thrive,
Logging keeps our hopes alive.
With CORS set free, our paths expand,
Hopping forward, hand in hand! 🌼🐇
Summary by CodeRabbit
Documentation
Enhancements
Configuration Changes