Opening local file in cursor built-in browser

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Opening file:///[file-path.html] is not working. Every address appends ‘https’ which breaks the url.

Why this is useful? Creating local wireframes (*.html) and previewing them.

Steps to Reproduce

paste any local html file path starting with file:/// to built-in cursor browser

Expected Behavior

It should preview the local html file as normal url.

Operating System

MacOS

Version Information

Version: 3.0.12 (Universal)
VSCode Version: 1.105.1
Commit: a80ff7dfcaa45d7750f6e30be457261379c29b00
Date: 2026-04-04T00:13:18.452Z
Layout: glass
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

1 Like

Hey, thanks for the report. This is a known issue, Glass omnibar automatically adds https:// to file:/// URLs. A partial fix was done earlier, but omnibar specifically wasn’t updated.

As a workaround, you can run a local server for preview:

  • python -m http.server from the folder with the file
  • npx serve

Then open it via localhost in the built-in browser.

I’ll let you know if there are any updates.

1 Like

one more vote. Hope to see fix soon.