mrnemesys you shouldn't edit anything in the vendor
folder as this can be reset by Composer next time you install or update something.
Trailing slashes are not supported by design, because Flarum isn't using them. If you think this is a mistake, feel free to open an Issue or PR on GitHub so we can discuss it
If supporting urls ending with /
is your concern, I'd recommend creating a rewrite rule that removes trailing slashes from all requests via an .htaccess
, like https://github.com/phanan/htaccess#remove-trailing-slash