LOG IN SIGN UP
Documentation

req.url.basename

The file name specified in a URL. For example, in the request www.example.com/1/hello.gif?foo=bar, req.url.basename will return hello.gif.