format wiadomości

This commit is contained in:
Patryk Koreń
2026-01-03 20:58:23 +01:00
parent 765157f754
commit 28b6546c25
10 changed files with 118 additions and 34 deletions

View File

@@ -87,3 +87,9 @@ export async function search(input: string) {
});
});
}
export function formatFilePath(path: string): string {
return path.replace("/app/data/", "")
.replace(/\[.*\].opus/, "")
.trim();
}