relmio 0.2.4 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -1
- package/README.md +72 -12
- package/docs/images/examples/hosted-chat-connected.png +0 -0
- package/docs/images/setup/01-local-sign-in-ready.png +0 -0
- package/docs/images/setup/02-vps-identity-confirmed.png +0 -0
- package/docs/images/setup/03-n8n-detected.png +0 -0
- package/docs/images/setup/04-install-plan.png +0 -0
- package/docs/images/setup/05-bridge-ready.png +0 -0
- package/docs/maintenance.md +13 -1
- package/docs/security.md +8 -2
- package/docs/troubleshooting.md +50 -7
- package/docs/video-outline.md +13 -4
- package/package.json +1 -1
- package/src/ui/app.js +21 -6
- package/src/ui/geist-latin.woff2 +0 -0
- package/src/ui/index.html +452 -386
- package/src/ui/styles.css +691 -434
- package/src/web/server.js +5 -1
package/src/web/server.js
CHANGED
|
@@ -181,6 +181,7 @@ async function loadDefaultUiFiles() {
|
|
|
181
181
|
readFile(new URL("../ui/app.js", import.meta.url), "utf8"),
|
|
182
182
|
readFile(new URL("../ui/time.js", import.meta.url), "utf8"),
|
|
183
183
|
readFile(new URL("../ui/styles.css", import.meta.url), "utf8"),
|
|
184
|
+
readFile(new URL("../ui/geist-latin.woff2", import.meta.url)),
|
|
184
185
|
]);
|
|
185
186
|
|
|
186
187
|
return {
|
|
@@ -188,6 +189,7 @@ async function loadDefaultUiFiles() {
|
|
|
188
189
|
"/app.js": files[1],
|
|
189
190
|
"/time.js": files[2],
|
|
190
191
|
"/styles.css": files[3],
|
|
192
|
+
"/geist-latin.woff2": files[4],
|
|
191
193
|
};
|
|
192
194
|
}
|
|
193
195
|
|
|
@@ -417,7 +419,9 @@ function createRequestHandler(state) {
|
|
|
417
419
|
}
|
|
418
420
|
|
|
419
421
|
const contentType =
|
|
420
|
-
path.endsWith(".
|
|
422
|
+
path.endsWith(".woff2")
|
|
423
|
+
? "font/woff2"
|
|
424
|
+
: path.endsWith(".js")
|
|
421
425
|
? "text/javascript; charset=utf-8"
|
|
422
426
|
: path === "/styles.css"
|
|
423
427
|
? "text/css; charset=utf-8"
|