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

313
Vistas
Error: Requested and resolved page mismatch: /../public/logo.svg /public/logo.svg

I keep getting this error after in terminal when importing logo; the logo is importing though not sure why. There isn't much support regarding this error online on here as well as on next js if anyone has come across this and can help much appreciated

<Image src={'/../public/logo.svg'} width={width} height={height} />;

It wont run without the / in the beginning.

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

You are trying to ask for /../public/logo.svg which starts at the root, tries to go a level above the root, and then down to public/logo.svg.

Since the client isn't allowed to go above the root (and access arbitrary files on the server!), the ../ gets stripped out (with the security error you see) and the browser is given the resulting URL.

The SVG is displayed because after recovering from the error, the URL happened to point to the SVG.

To get rid of the error message, stop making the error. Remove ../ from the URL.

about 4 years ago · Juan Pablo Isaza Denunciar

0

import icon from react component instead*

const Logo = ({ width, height }) => {
  return (
    <svg
    </svg>
  );
};

export default Logo;

import Logo into components

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