Patch vite allowedHosts at container startup

This commit is contained in:
_Yusaki 2026-03-13 00:40:50 +07:00
parent 238a639b01
commit c20d293e5f

View file

@ -9,6 +9,8 @@ services:
expose:
- "3000"
- "5001"
command: >
sh -c "sed -i 's/server: {/server: { allowedHosts: true,/' /app/frontend/vite.config.js && npm run dev"
restart: unless-stopped
volumes:
- ./backend/uploads:/app/backend/uploads