This is probably something you want to detect and rewrite in your proxy level. For example if you're using nginx or Apache this, is something you'd do as a rewrite permanent rule.
Though each browser will treat the trailing slash differently. FF likes to add them where Chrome sends what ever the user types. For example. going to
reddit.com/ will be requested as that, but once loaded will displayed as
reddit.com, and any reloading of the page after that will use just
reddit.com without the trailing slash. So you might find your server sending a 30(2|4) every time the user reloads your page
Now a trailing slash on the end of an actual path, (not root), can be a bit trickier, since they have two different meanings in the http handle func object. With no slash meaning endpoint, and with slash everything under that path being sent to the handler func.