m0ngr31 / EPlusTV

Virtual linear channels for ESPN, ESPN+, MSG+, Paramount+, MLB.tv, and FOX Sports
119 stars 23 forks source link

remove unnecessary ACCESS_URI env var #12

Closed tmm1 closed 2 years ago

tmm1 commented 2 years ago

fixes #11

m0ngr31 commented 2 years ago

Thanks for the PR!

'http://'+req.headers.host

Can't assume it's going to be http. But I'm guessing you can pull that off of the request as well. I think I'd prefer to do string interpolation there too.

tmm1 commented 2 years ago

Sure you can use req.protocol

m0ngr31 commented 2 years ago

Something like that then?

tmm1 commented 2 years ago

LGTM