Add a configuration option for whether we add or remove trailing slashes from the URLs