elisescu / tty-share

Share your linux or osx terminal over the Internet.
https://tty-share.com/
MIT License
816 stars 87 forks source link

Enable cross origin for wss server #67

Closed PhearZero closed 1 year ago

PhearZero commented 1 year ago

Add option for websocket origin, similar to gotty's --ws-origin

--ws-origin value             A regular expression that matches origin URLs to be accepted by WebSocket. No cross origin requests are acceptable by default [$GOTTY_WS_ORIGIN]

Using gotty for now but would love to switch to tty-share.