Skip to content

Commit 88243be

Browse files
Fix loading chess font in service worker
1 parent 17f5704 commit 88243be

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h1><span>⬣</span> Hexchess</h1>
3636
<footer>
3737
<p>© Craig Anderson</p>
3838
<p>
39-
v1.3 (<a href="https://github.com/theonlytechnohead/Hexchess">source</a>) (<a
39+
v1.3.1 (<a href="https://github.com/theonlytechnohead/Hexchess">source</a>) (<a
4040
href="https://anderserver.ddns.net/blog/2023/8"
4141
>story</a
4242
>) (<a href="https://discord.gg/zaRuA8n4tm">discord</a>)

worker.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const version = "v1.3";
1+
const version = "v1.3.1";
22

33
const addResourcesToCache = async (resources) => {
44
const cache = await caches.open(version);
@@ -56,7 +56,10 @@ self.addEventListener("install", (event) => {
5656
"/",
5757
"/index.html",
5858
"/index.css",
59-
"/css/webfonts_Chess",
59+
"/css/webfonts_Chess/Chess.ttf.woff",
60+
"/css/webfonts_Chess/Chess.ttf.svg#Chess",
61+
"/css/webfonts_Chess/Chess.ttf.eot",
62+
"/css/webfonts_Chess/Chess.ttf.eot?#iefix",
6063
"/css/hex.css",
6164
"/css/print.css",
6265
"/js/black.js",

0 commit comments

Comments
 (0)