Commit graph

2 commits

Author SHA1 Message Date
abounoone
4e2516cdd7 fix: socket.io Invalid origin + dev mode PYTHONPATH + sync-assets improvements
- compose.local-origin.yaml: patch nginx to forward Host: $http_host (not
  websocket:9000) in /socket.io block so authenticate.js host==origin check passes
- compose.picking-dev.yaml: add PYTHONPATH=/home/frappe/frappe-bench/apps/picking_app
  to all services so picking_app is importable without pip install in dev mode
- images/custom/Containerfile: fix Frappe bug — add missing return after
  next(new Error("Invalid namespace")) in socket.io authenticate middleware
- Makefile: recreate-frontend target; sync-assets clears cache before copy and
  uses --force-recreate instead of restart; dev-up force-recreates frontend to
  flush stale backend IPs from nginx cache

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 10:21:20 +00:00
abounoone
9067451ec7 feat: add picking_app dev mode and sync-assets support
- Add COMPOSE_DEV override for picking_app volume mount
- Add dev-up/dev-down/dev-reload Makefile targets
- Add compose.picking-dev.yaml overlay
- Add compose.sync-assets.yaml overlay
- Add sync-assets.sh script for assets sync between containers
2026-03-19 23:32:26 +00:00