Skip to content

lightgun-poc / server / ServerMode

Type Alias: ServerMode

ServerMode = "adb" | "wifi" | "all"

Defined in: server.ts:97

How the server presents itself:

  • adb — USB tunnel dev flow: http only, no WiFi noise in the logs.
  • wifi — same-network flow: prints the QR/LAN URLs and the Chrome-flag (Option A) fallback. No USB instructions.
  • all — both (plain npm start, the never-break default).

Released under the MIT License.