Skip to content

Commit 85ceed9

Browse files
authored
fix third party ressources downloading (#347)
1 parent f908516 commit 85ceed9

File tree

6 files changed

+90
-97
lines changed

6 files changed

+90
-97
lines changed

plugin/home/index.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,6 @@
66
<link rel="icon" type="image/svg+xml" href="favicon.png" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
88
<title>Local DeWeb Provider</title>
9-
10-
<!-- Fonts -->
11-
<link rel="preconnect" href="https://fonts.googleapis.com" />
12-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
13-
<link rel="stylesheet" href="./node_modules/@hackernoon/pixel-icon-library/fonts/iconfont.css" />
14-
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&display=swap"
15-
rel="stylesheet" />
16-
<link rel="preload" as="style" href="https://fonts.cdnfonts.com/css/e1234" media="all"
17-
onload="this.rel='stylesheet'" />
189
</head>
1910

2011
<body>

plugin/home/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/int/api/resources/injectedStyle.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap");
1+
/* IBM Plex Mono - Self-hosted fonts */
2+
@font-face {
3+
font-family: 'IBM Plex Mono';
4+
src: url('/fonts/IBMPlexMono-Regular.woff2') format('woff2');
5+
font-weight: 400;
6+
font-style: normal;
7+
font-display: swap;
8+
}
29

310
.massa-logo {
411
width: 20px;

server/pages/index.html

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/massa_logomark.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<link rel="preconnect" href="https://fonts.googleapis.com" />
8-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
9-
<link
10-
rel="preload stylesheet"
11-
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,200;0,300;0,400;0,500;0,600;1,200;1,300;1,400;1,500;1,600&display=swap"
12-
/>
13-
<link
14-
rel="preload stylesheet"
15-
href="https://fonts.cdnfonts.com/css/e1234"
16-
/>
177
<title>DeWeb</title>
188
</head>
199
<body>

server/pages/package-lock.json

Lines changed: 79 additions & 74 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
13 KB
Binary file not shown.

0 commit comments

Comments
 (0)