Make all resource paths relative

Closes: https://todo.sr.ht/~emersion/gamja/17
This commit is contained in:
Simon Ser
2021-03-02 22:46:48 +01:00
parent a5608a40d5
commit 80e0175d36
14 changed files with 47 additions and 43 deletions

View File

@@ -3,15 +3,15 @@
<head>
<meta charset="utf-8">
<title>gamja IRC client</title>
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="./style.css">
</head>
<body>
<noscript>
<p>Unfortunately gamja requires JavaScript. Please enable it!</p>
</noscript>
<script type="module">
import { html, render } from "/lib/index.js";
import App from "/components/app.js";
import { html, render } from "./lib/index.js";
import App from "./components/app.js";
render(html`<${App}/>`, document.body);
</script>