Skip to content

Built desktop Spotlight window loads /spotlight and gets 404 #111

@vuon9

Description

@vuon9

Severity

P1

Affected area

Desktop Spotlight / command palette

Build/run evidence

Built from source on 2026-05-27:

cd frontend && bun run build
cd ..
go build -o bin/DevToolbox-discovery .
./bin/DevToolbox-discovery

Startup log from the built binary:

[AssetFileServerFS] Handling request url=/spotlight file=spotlight
Asset Request: code=404 method=GET path=/spotlight

Repro

  1. Build and run the desktop app from source.
  2. Inspect the app startup logs or trigger/open the Spotlight window.
  3. The app creates the Spotlight webview with URL: "/spotlight".

Actual

The built asset server returns 404 for /spotlight.

Expected

The Spotlight command palette should load reliably in the built desktop app.

Likely cause

The frontend build emits frontend/dist/spotlight.html, but the desktop window requests /spotlight.

Recommended fix

Resolve /spotlight to spotlight.html, or change the window URL to the built asset path. Also align the public hotkey docs/checklist with the runtime shortcut; the built app reports Cmd+Shift+Space, while README/testing docs mention Cmd+Ctrl+M / Ctrl+Alt+M.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:highHigh priority

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions