-
-
Notifications
You must be signed in to change notification settings - Fork 54.4k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
The logo in the Gateway Dashboard header shows a broken image icon when accessing via the /webchat/ path.
Environment
- OpenClaw version: 2026.2.6-3
- OS: Windows 11 with WSL2 Ubuntu
- URL:
http://localhost:18789/webchat/chat?session=agent%3Amain%3Amain
Expected behavior
The OpenClaw logo should display in the header.
Actual behavior
A broken image placeholder is shown. The logo path returns HTML (200 OK, Content-Type: text/html) instead of the actual SVG file.
Reproduction
- Start the gateway
- Navigate to
http://localhost:18789/webchat/chat - Open DevTools → Network tab
- Observe that
favicon.svgrequests returntext/htmlinstead ofimage/svg+xml
Investigation
bash
Root path works correctly:
curl -s -I 'http://localhost:18789/favicon.svg'
Content-Type: image/svg+xml ✓
Webchat path returns HTML instead:
curl -s -I 'http://localhost:18789/webchat/favicon.svg'
Content-Type: text/html; charset=utf-8 ✗
The webchat route handler catches all requests and returns the SPA HTML, preventing static files from being served correctly at that path.
Related Issues
#7166, #7178 - Similar logo issues but with basePath configuration
Suggested Fix
Serve static assets before the webchat SPA catch-all route, or use an absolute root path for the logo.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working