cashubtc / npubcash-server

MIT License
34 stars 4 forks source link

Replace env.HOSTNAME with dynamic hosts #8

Closed Egge21M closed 8 months ago

Egge21M commented 8 months ago

This PR removes the requirement for env.HOSTNAME and replaces it wherever required with the value of the host header.

Open questions: Should a validDomainList be implemented to reject connections from unknown hosts in order to prevent NIP98 replay attacks?