You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means the WebSocket connection automatically adapts to use the same protocol and host as the HTTP connection, making it work seamlessly through any reverse proxy.
43
+
44
+
### Example with ngrok
45
+
46
+
```bash
47
+
# Start the demo server
48
+
npx @ghostty-web/demo@next
49
+
50
+
# In another terminal, expose it via ngrok
51
+
ngrok http 8080
52
+
```
53
+
54
+
The terminal will work seamlessly through the ngrok URL! Both HTTP and WebSocket traffic will be properly proxied.
0 commit comments