• v1.1.0 178313ec2b

    ari released this 2024-01-19 04:59:00 +00:00 | 3 commits to main since this release

    this update to OpenTerminal includes:

    • fixes #7 where the server will crash when user requests directory without the leading / (e.g. /scripts) - fix implemented from #8
    • added client/server version verification (server will now disconnect out-of-date clients)
    • improved handling for joining secure/insecure servers
      • if a protocol is not specified, client will attempt to connect with wss://. failing that, the user will be asked to confirm before the client attempts an insecure connection with ws://. specifying a protocol bypasses this confirmation.
    • reverse proxy support!
      • hosts specified in OPENTERM_TRUSTED_PROXIES may provied an X-Forwarded-For header as the "real ip" of a client.
    • robust logging (or, more practically, logging at all)
      • 1970-01-01T00:00:00Z - GET / - 200 - 127.0.0.1 in 1ms
      • 1970-01-01T00:00:00Z - WS OPEN - 127.0.0.1 (active connections: 1)
      • this should help greatly with diagnosing network issues!

    this update should prove very helpful to those hosting OpenTerminal (namely, me). feel free to submit an issue or pull request if there's some more backend QoL features you'd like to see!

    Downloads