Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

259
Vistas
Strict CSP rule in place - Is there an alternative mechanism to call localhost?

I've service running my colleagues workstations locally (127.0.0.1), and I would like to call that service when they visit mysite.com, but I do have a strict CSP rule to enforce that no CORS is allowed.

CSP Error

Refused to connect to 'http://127.0.0.1/api/verify' because it violates the following Content Security Policy directive: "connect-src 'self'

I understand I can relax my CSP rules to allow connect-src: 127.0.0.1, but I would like to check with the community on whether there is an alternative mechanism to call the local service without update CSP rules.

Note: I have multiple sites that call the local service.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda