fix: admin: avoid long delay in loading page when google is unreachable

Massimo Melina committed May 15, 2022 at 00:50 UTC 19b75ee47f920adfc550e152a40ec6df42606581
2 files changed +2 -2
admin/public/index.html
+2 -1
@@ -4,7 +4,8 @@
4 <meta charset="utf-8" />
5 <meta name="viewport" content="width=device-width, initial-scale=1" />
6 <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
7 - <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" />
7 + <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
8 + rel="preload" as="style" onload="this.rel='stylesheet'" />
9 <script async src='https://unpkg.com/node-forge@1.3.1/dist/forge.min.js'></script>
10 <script>SESSION = _HFS_SESSION_</script>
11 <title>HFS Admin</title>
todo.md
-1
@@ -1,6 +1,5 @@
1 # To do
2 - move logs to dedicated folder
3 -- admin: don't rely on google for font
3 - fix: root without can_download breaks
4 - use dialogs instead of side-forms on mobile (admin/fs+accounts)
5 - easier deploy on cloud server