- Refactor Backend Session Management (
RaySight-backend/server.js):- Make sure
saveUninitializedistrue. - Add
app.set('trust proxy', 1)so that secure cookies work behind reverse proxies.
- Make sure
- Refactor Frontend Fetch Requests (
RaySight-frontend/src/services/api.ts):- In
postPipeline, removesessionIdfrom the body payload as well.
- In
- Verify Changes:
- Run the frontend tests and backend tests.
- Complete pre commit steps to make sure proper testing, verifications, reviews and reflections are done.