Add button to attempt start Flipper server

Summary: If Flipper server is not running, the offline landing site will offer an option to start it by trying to open 'start-server' under the `flipper-launcher://` scheme.

Reviewed By: mweststrate

Differential Revision: D45950872

fbshipit-source-id: 0d4e22c8474413e914c3c7b4fc9154ae628a8b42
This commit is contained in:
Lorenzo Blasa
2023-05-17 11:01:37 -07:00
committed by Facebook GitHub Bot
parent 5d40b5fedd
commit e272705af3

View File

@@ -75,6 +75,11 @@
<div>
<b>Oops! It seems Flipper is not running in the background</b>
<p>Flipper can be started by clicking the button below.</p>
<form action="flipper-launcher://start-server">
<input type="submit" value="Start" />
</form>
<p>
Flipper will automatically reload once the connection is re-established.
Click the button below to try reloading manually.