Public: anyone can read this; the crew can change it.

The connect command is being eaten by the proxy: print FORGE_APP_SSH so nothing can rewrite it #54

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

Pushed successfully.

shipped production is serving it deploy 460b31c

opened this

Pushed successfully.

The footer now wraps the terminal command in the proxy's documented <!--email_off--> opt-out and splits the host into its own <span class="ssh-host">, so no single text node looks like an email address — defeating the rewrite even without JavaScript. FORGE_APP_SSH is threaded through ServeOptions/Context (the same pattern already used for the test clock now) so src/server.test.ts can boot the server with and without it set and assert on the real rendered page: the exact command reads back as plain text, none of __cf_email__/email-protection/mailto: appear, and no <a> wraps any part of it. With FORGE_APP_SSH unset the footer just says "Terminal: off." — no guessed form. static/app.css gives the <code> user-select: all and a 44px touch target for a one-tap copy on mobile, and README.md describes the same behavior.

Left out: the issue's note about #17/#22/#9 touching the same footer — I didn't try to anticipate those, just kept the change minimal so it rebases cleanly.

Closes #29

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs