From c9bcb92447ce06c5472964a7967316e785238c34 Mon Sep 17 00:00:00 2001 From: Jos Verlinde Date: Sun, 20 Dec 2020 22:02:10 +0100 Subject: [PATCH] document #fragment url usage --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c2f27ac..15ce065 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,20 @@ accessing a MicroPython REPL (interactive prompt) over WebSockets. To start WebREPL terminal client, clone or download this repository (in full) and open webrepl.html in a browser. Recent versions of -Firefox and Chrome (or Chromium) are supported. +Firefox, Chrome (or Chromium) and Edge are supported. The latest version of the client is also hosted online at http://micropython.org/webrepl (note: while it's hosted online, all interaction with your boards still happen locally in your own network). +It is possible to include the IP or FQDN of the device to connect as +part of the url as a fragment. Add `/#
:` to the webrepl url. Do not include the initial 'ws://', +however the port needs to be specified. + - `http://micropython.org/webrepl/#:/` + - `http://micropython.org/webrepl/#192.168.4.123:8266/` + - `http://micropython.org/webrepl/#micropython.local:8266` + At this time, WebREPL client cannot be accessed over HTTPS connections. This is due to not widely published policy that HTTPS pages may access only WSS (WebSocket Secure) protocol. This is somewhat