In your /application/config/generated_overrides/concrete.php file find the seo section as below and add the trailing slash line.
'seo' => [
'redirect_to_canonical_url' => false,
'url_rewriting' => true,
'trailing_slash' => true,
],
To explore other available options see the seo section of /concrete/config/concrete.php