Skip to content

Commit d105425

Browse files
committed
Point the USB flasher at web.esphome.io
Flip FLASHER_URL to the production web.esphome.io flasher and update the release note: its postMessage receiver is esphome/dashboard#923, which must be merged and deployed before a backend release bundles this.
1 parent ca6d8ca commit d105425

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/common/docs.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ export const ESPHOME_DOCS_BASE = "https://esphome.io";
55
* Secure-context Web Serial flasher the dashboard hands firmware to over
66
* postMessage (the HA add-on is plain http, so it can't run Web Serial itself).
77
*
8-
* RELEASE GATE: this is the DEVELOPMENT target (GitHub Pages). It MUST be
9-
* flipped to web.esphome.io before any backend release bundles this frontend,
10-
* or HA add-on users would hand their factory image to a dev site. Tracked in
11-
* esphome/backlog#151; the companion web.esphome.io postMessage-ingest change
12-
* lands first. Until then PR #904 stays a draft (the actual merge gate).
8+
* Production target: web.esphome.io. Its postMessage-ingest receiver is
9+
* esphome/dashboard#923, which MUST be merged and deployed before a backend
10+
* release bundles this frontend, or HA add-on users would hand their factory
11+
* image to a web.esphome.io that doesn't yet accept it. Tracked in
12+
* esphome/backlog#151.
1313
*
1414
* FLASHER_ORIGIN is the bare origin used for the postMessage targetOrigin and
1515
* for validating inbound frames.
1616
*/
17-
export const FLASHER_URL = "https://esphome.github.io/device-builder/";
17+
export const FLASHER_URL = "https://web.esphome.io/";
1818
// Derived so the postMessage targetOrigin / inbound-frame check can't drift
1919
// from FLASHER_URL when the target moves to web.esphome.io.
2020
export const FLASHER_ORIGIN = new URL(FLASHER_URL).origin;

0 commit comments

Comments
 (0)