use google font cdn instead of hosting locally

This commit is contained in:
CoolElectronics 2023-08-19 19:19:08 -04:00
parent 2c1bebcace
commit 9474a595c2
No known key found for this signature in database
GPG key ID: F63593D168636C50
3 changed files with 1 additions and 3 deletions

View file

@ -45,7 +45,6 @@ export class RTCTransport extends Transport {
this.dataChannel.onclose = onclose; this.dataChannel.onclose = onclose;
this.dataChannel.onmessage = async (event) => { this.dataChannel.onmessage = async (event) => {
console.log(event);
let buf = event.data; let buf = event.data;
this.ondata(buf); this.ondata(buf);
}; };

View file

@ -5,7 +5,7 @@
<title></title> <title></title>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Cabin">
<script type="module" src="src/entry.ts"></script> <script type="module" src="src/entry.ts"></script>
<script src="uv/uv.bundle.js"></script> <script src="uv/uv.bundle.js"></script>
<script src="uv.config.js"></script> <script src="uv.config.js"></script>

View file

@ -1,6 +1,5 @@
import { registerRemoteListener } from "bare-client-custom"; import { registerRemoteListener } from "bare-client-custom";
import App from "./App.svelte"; import App from "./App.svelte";
import "@fontsource/cabin";
import "./index.css"; import "./index.css";
if (import.meta.env.VITE_ADRIFT_DEV) { if (import.meta.env.VITE_ADRIFT_DEV) {