Page with parameter not rendering CSS

Asked

Viewed 26 times

0

Hi, I have a problem rendering my page. When I do a route with parameter in the URL the bootstrap css simply does not render, however, if I do a route that does not have any parameter in the url the css is normally loaded.

app.get( '/encontrista/:idEncontrista', isLoggedIn, function( req, res )
{
    res.render( 'signup.ejs', { message: req.flash( 'message' ) } );
} );

Ao lado esquerdo a página problemática e ao lado direito a mesma página com exceção do parâmetro na url.

  • 2
  • Try to enter the full address before the current path. For example: http://localhost:3000/vendor .... The linked answer explains more about this.

  • Thanks, I managed to solve, I put relative to the path and it worked perfectly! I changed vendor/ p/ /vendor/

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.