This commit is contained in:
ポール ウェッブ 2018-07-27 13:42:07 -05:00
parent 7b1aff1e68
commit 013437a4c1
6 changed files with 7 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -40,7 +40,6 @@ function socketReady(socket, callback) {
if (callback !== undefined) callback();
return;
} else {
log("Waiting for websocket connection to come online");
socketReady(socket, callback);
}
}, 5);

View file

@ -4,19 +4,19 @@
font-family: "Karla";
font-style: normal;
font-weight: 400;
src: local("Karla Regular"), url(//brick.freetls.fastly.net/fonts/karla/400.woff) format("woff");
src: local("Karla Regular"), url(https://brick.freetls.fastly.net/fonts/karla/400.woff) format("woff");
}
@font-face {
font-family: "Karla";
font-style: italic;
font-weight: 400;
src: local("Karla Italic"), url(//brick.freetls.fastly.net/fonts/karla/400i.woff) format("woff");
src: local("Karla Italic"), url(https://brick.freetls.fastly.net/fonts/karla/400i.woff) format("woff");
}
@font-face {
font-family: "Karla";
font-style: normal;
font-weight: 700;
src: local("Karla Bold"), url(//brick.freetls.fastly.net/fonts/karla/700.woff) format("woff");
src: local("Karla Bold"), url(https://brick.freetls.fastly.net/fonts/karla/700.woff) format("woff");
}

View file

@ -110,7 +110,7 @@ fastify.ready(err => {
}
});
socket.on("close", () => log("Client disconnected.")); // TODO: Close socket?
socket.on("close", () => socket.terminate());
});
});

View file

@ -59,7 +59,7 @@ module.exports = exports = state => html`
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,"script","https://www.google-analytics.com/analytics.js","ga");
ga("create", ${config.ga}, "auto");
ga("create", "${config.ga}", "auto");
ga("send", "pageview");
</script>
`;