Caching fonts proxy for Googel Fonts
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Force https, because reverse proxies sometimes snack that away


Signed-off-by: MLC Bloeiman <mar@strawmelonjuice.com>

+2 -2
+1 -1
gleam.toml
··· 1 1 name = "fonts" 2 - version = "1.0.0" 2 + version = "1.0.1" 3 3 4 4 # Fill out these fields if you intend to generate HTML documentation or publish 5 5 # your project to the Hex package manager.
+1 -1
src/fonts.gleam
··· 253 253 string.replace(origin_body, "http", { 254 254 uri.Uri( 255 255 host: Some(req.host), 256 - scheme: Some(http.scheme_to_string(req.scheme)), 256 + scheme: Some("https"), 257 257 userinfo: None, 258 258 port: req.port, 259 259 path: "",