google-fonts icon indicating copy to clipboard operation
google-fonts copied to clipboard

400 bad request

Open nandi95 opened this issue 3 months ago • 1 comments

After updating from v3.1.3 to v3.2.0 I get a bad request on the endpoint it generates: https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,600;0,500;0,700;1,400&display=swap&subset=latin

The same request succeeds on it's /css not /css2

nuxt.config.ts

googleFonts: {
    display: 'swap',
    outputDir: 'src/assets/google-fonts',
    subsets: 'latin',
    families: {
        Raleway: {
            wght: [400, 600, 500, 700],
            ital: [400]
        }
    }
},

perhaps this is to do with https://github.com/nuxt-modules/google-fonts/pull/184 ?

nandi95 avatar Apr 17 '24 18:04 nandi95