Improvements and tests for live transcription.
This commit is contained in:
1 parent
e4be47f707
commit
18acead43c
14 files changed
+1138
-45
No files matched your search
+2
-2
@@ -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]);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user