Skip to content

Commit 6a45d7c

Browse files
committed
Remove SRI of bootstrap and font-awesome css
Sometimes it causes the fetch event to fail after the PWA cache key is updated: ``` The FetchEvent for "<url_from_CDN>" resulted in a network error response: an "opaque" response was used for a request whose type is not no-cors ```
1 parent 5df6761 commit 6a45d7c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

_includes/head.html

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,10 @@
5555
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net">
5656

5757
<!-- Bootstrap -->
58-
<link rel="stylesheet"
59-
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
60-
integrity="sha256-LA89z+k9fjgMKQ/kq4OO2Mrf8VltYml/VES+Rg0fh20=" crossorigin="anonymous">
58+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
6159

6260
<!-- Font Awesome -->
63-
<link rel="stylesheet"
64-
href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css"
65-
integrity="sha256-+N4/V/SbAFiW1MPBCXnfnP9QSN3+Keu+NlB+0ev/YKQ="
66-
crossorigin="anonymous">
61+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css">
6762

6863
{% include css-selector.html %}
6964

0 commit comments

Comments
 (0)