The reboot route fired systemctl reboot in parallel with returning the rebooting HTML. The browser's follow-up request for /static/style.css was racing the shutdown — often the server was already gone, leaving the page unstyled (inline SVG rendered at full viewBox size, filling the screen). A small sleep gives the browser time to pull CSS + icons before the network drops. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| static | ||
| templates | ||
| app.py | ||
| drives.py | ||
| requirements.txt | ||