separate grpc connection
This commit is contained in:
parent
e16fca179b
commit
524367ec3c
2 changed files with 8 additions and 3 deletions
1
main.go
1
main.go
|
|
@ -35,6 +35,7 @@ func lnurlp_response(w http.ResponseWriter, r *http.Request) {
|
|||
},).Info("lnurlp_response")
|
||||
|
||||
// look up domain in env vars (HOST_DOMAIN)
|
||||
|
||||
env_host_domain := os.Getenv("HOST_DOMAIN")
|
||||
if r.Host != env_host_domain {
|
||||
log.Warn("wrong host domain")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue