Good morning,
I downloaded Montserrat Google font and created a “font”-folder directly on my mainsite: https://www.domain.de/fonts/
I uploaded alle fonts to this directory, and used this both codes:
add_filter( 'generate_typography_default_fonts', function( $fonts ) {
$fonts[] = 'Montserrat';
return $fonts;
} );
and the respective CSS from google with correct url. Than I called my site and selected as typography the new locale font. But it’s not working. I start cloeaning the cache and browser cache too but no result.