Improvements and tests for live transcription.

This commit is contained in:
Lucas Winther committed 2026-07-14 14:14:01 +02:00
1 parent e4be47f707
commit 18acead43c
14 files changed
+1138 -45

No files matched your search

+2 -2
View File
@@ -203,12 +203,12 @@ async function developmentServeOptions(): Promise<ServeOptions> {
}
const iconsMatch = pathname.match(/\/icons\/(icon-\d+\.png)$/);
if (iconsMatch) {
if (iconsMatch?.[1]) {
return serveFile(join(ICONS_DIR, iconsMatch[1]));
}
const ortMatch = pathname.match(/\/ort\/(.*(?:wasm|mjs))$/);
if (ortMatch) {
if (ortMatch?.[1]) {
return serveOrtFile(ORT_DIST, ortMatch[1]);
}