Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

173
Views
Anular solicitud expresa

Estoy tratando de anular el req pero parece que no funciona

por ejemplo

 app.use((req, res, next) => { req.hostname = req.headers['x-forwarded-host'] || req.hostname; req.test = req.headers['x-forwarded-proto'] || req.protocol; req.protocol = req.headers['x-forwarded-proto'] || req.protocol; console.log(req.hostname); console.log(req.test); console.log(req.protocol); next(); })

Si tengo

x-reenviado-host = 'google.com' x-reenviado-proto = 'https'

tendré

 req.hostname = '127.0.0.1' req.test = 'https' req.protocol = 'http'
about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!