TypeError: Cannot read property 'encrypted' of undefined

marcobarbosa
0
marcobarbosa
commented 2 years ago

at isHTTPS (/app/node_modules/is-https/index.js:3:46)

Testing this with nuxt.js and heroku staging. Using node >=8.9.1.

Shouldn't we test that we a req.connection here first?

  // Test using req.connection.encrypted
  const encrypted = isEmpty(req.connection.encrypted)...
0
seenickcode
0
seenickcode
commented a year ago

@marcorbarbosa, was there any resolution to this? I am getting this in Nuxt when using Nuxt's proxy.

0
marcobarbosa
0
marcobarbosa
commented a year ago

@seenickcode Sorry, but I don't remember what we did :/

0
pi0
40.1k
pi0
commented a year ago

Hi @seenickcode. Are you able to make a small reproduction repository?

0
Informations
Question โ€ข Unresolved
#c2 - Created 2 years ago