mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-22 12:16:52 +00:00
c9c3cda651
Uses a TLS-detecting listener that peeks the first byte of each connection. TLS handshakes (0x16) proceed normally; plain HTTP requests get a 301 redirect to the HTTPS URL. This handles http://localhost:3000 gracefully instead of showing a cryptic error.