changeset 5b0a0e111880 in www.tryton.org:default details: https://hg.tryton.org/www.tryton.org?cmd=changeset;node=5b0a0e111880 description: Preloading of font must be done with be done in anonymous mode
https://drafts.csswg.org/css-fonts/#font-fetching-requirements diffstat: app.py | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diffs (33 lines): diff -r 4c5f2468ca33 -r 5b0a0e111880 app.py --- a/app.py Sun Jul 28 12:46:10 2019 +0200 +++ b/app.py Sun Jul 28 23:28:13 2019 +0200 @@ -103,19 +103,24 @@ 'rel': 'preload', 'as': 'style', 'nopush': True}), LinkHeader( 'fonts', [], {'name': 'RobotoCondensed-Light.woff'}, { - 'rel': 'preload', 'as': 'font', 'nopush': True}), + 'rel': 'preload', 'as': 'font', 'nopush': True, + 'crossorigin': True}), LinkHeader( 'fonts', [], {'name': 'RobotoCondensed-Regular.woff'}, { - 'rel': 'preload', 'as': 'font', 'nopush': True}), + 'rel': 'preload', 'as': 'font', 'nopush': True, + 'crossorigin': True}), LinkHeader( 'fonts', [], {'name': 'RobotoCondensed-Bold.woff'}, { - 'rel': 'preload', 'as': 'font', 'nopush': True}), + 'rel': 'preload', 'as': 'font', 'nopush': True, + 'crossorigin': True}), LinkHeader( 'fonts', [], {'name': 'MaterialIcons-Regular.woff2'}, { - 'rel': 'preload', 'as': 'font', 'nopush': True}), + 'rel': 'preload', 'as': 'font', 'nopush': True, + 'crossorigin': True}), LinkHeader( 'fonts', [], {'name': 'Icons.woff2'}, { - 'rel': 'preload', 'as': 'font', 'nopush': True}), + 'rel': 'preload', 'as': 'font', 'nopush': True, + 'crossorigin': True}), ]