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

183
Views
Agregar huella digital del navegador para solicitar encabezados con Next.js

Next.js tiene esta función de headers en el archivo next.config.js . Por ejemplo:

 /** @type {import('next').NextConfig} */ module.exports = { async headers() { return [ { // matching all API routes source: "/api/:endpoint*", headers: [ ... ] } ]; } };

Pero estos encabezados se definen cuando la aplicación se está inicializando. ¿Cómo puedo establecer encabezados por solicitud, ya que necesito establecer el valor de @fingerprintjs/fingerprintjs cuando Next.js realiza llamadas a la API?

Soy consciente de que puedo usar directamente fetch , pero también necesito que este encabezado esté presente cuando Next Auth realiza llamadas a la API, etc.

about 4 years ago · Juan Pablo Isaza
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!