You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How did this cause an issue?
With a plain http connection encrypted is undefined, that's true. But that's falsy so protocol is going to be 'http'. When the connection is https it is defined and it's true (at least with express) so protocol will be 'https'
Need to replace with
req.encrypted ? "https" : "http"
or more succinctlyreq.protocol
prerender-node/index.js
Line 251 in a21e8a5
tried to push my branch to make a PR but I got access denied, can an existing contributor pr this?
The text was updated successfully, but these errors were encountered: