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' ) } );
} );
Possible duplicate of: Difference between absolute and relative Urls in page contents
– Luiz Felipe
Try to enter the full address before the current path. For example:
http://localhost:3000/vendor ...
. The linked answer explains more about this.– Luiz Felipe
Thanks, I managed to solve, I put relative to the path and it worked perfectly! I changed
vendor/
p//vendor/
– Z0D