Skip to content Skip to sidebar Skip to footer

Trailing Slash Gets Appended To Url In Express Server

I am facing an issue with express server when I am trying to use a specific url route. If I use the word 'bind' for my url automatically a '/' gets appended to it. But it is not ha

Solution 1:

Try enabling strict routing. And check for errors, that should help you.

var app = express();

app.enable('strict routing'); 

Post a Comment for "Trailing Slash Gets Appended To Url In Express Server"