Skip to content

Commit 01f6a3b

Browse files
committed
Allow crossorigin for google font
So that it will work inside of SVG foreign object for html-to-image conversions More info: https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image
1 parent bf676ba commit 01f6a3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/views/application/_google_fonts.html.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
33
<link
44
href="https://fonts.googleapis.com/css2?family=Russo+One&display=swap"
5-
rel="stylesheet">
5+
rel="stylesheet"
6+
crossorigin="anonymous">

0 commit comments

Comments
 (0)