Trailing slash
By default Brisa will redirect urls with trailing slashes to their counterpart without a trailing slash. For example /about/ will redirect to /about. You can configure this behavior to act the opposite way, where urls without trailing slashes are redirected to their counterparts with trailing slashes.
Open brisa.config.ts and add the trailingSlash config:
import type { Configuration } from "brisa";
export default {
trailingSlash: true,
} satisfies Configuration;
With this option set, urls like /about will redirect to /about/.
When used with output: "static" configuration, the /about page will output /about/index.html (instead of the default /about.html).