feat: desktop connect-to-server over SSH tunnel (issue #26, phase 5)

This commit is contained in:
hugo committed 2026-07-15 18:39:04 +02:00
1 parent a3ca44640c
commit df2bdc2041
18 files changed
+1094 -479

No files matched your search

+3
View File
@@ -29,6 +29,9 @@ config :bds, :server, ssh_port: 2222
config :bds, BDS.Desktop.Endpoint,
url: [host: "127.0.0.1"],
# Any-port loopback origins: the remote-GUI SSH tunnel terminates on an
# ephemeral local port, so the websocket origin port varies per connect.
check_origin: ["//127.0.0.1", "//localhost"],
adapter: Bandit.PhoenixAdapter,
render_errors: [formats: [html: BDS.Desktop.ErrorHTML], layout: false],
pubsub_server: BDS.PubSub,