Skip to content

fix: allow control.openmouse.app origin - #4

Open
hyusband wants to merge 1 commit into
OpenMouse-Project:mainfrom
hyusband:main
Open

hyusband wants to merge 1 commit into
OpenMouse-Project:mainfrom
hyusband:main

Conversation

@hyusband

@hyusband hyusband commented Sep 7, 2026

Copy link
Copy Markdown

Summary

Allow the production control panel origin https://control.openmouse.app in OpenMouse Bridge CORS configuration.

Reproduction

The Bridge API is healthy locally:

  • PUT http://127.0.0.1:17846/v1/handshake returns 200 {"ok":true}.
  • The Bridge switches to Live after a successful handshake.

However, requests from https://control.openmouse.app are blocked by the browser because the Bridge preflight response does not include Access-Control-Allow-Origin: https://control.openmouse.app.

Example browser error:
No 'Access-Control-Allow-Origin' header is present on the requested resource.

Change

Adds https://control.openmouse.app to both:

  • OFFICIAL_ORIGINS
  • default_origins()

This allows the current production control panel to complete the local Bridge handshake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant