Increase max duration to 600s, fix storage key return

This commit is contained in:
fspecii
2026-02-04 20:13:41 +02:00
parent 39960f0961
commit 2f567580bc
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export class LocalStorageProvider implements StorageProvider {
const filepath = path.join(this.audioDir, key);
await mkdir(path.dirname(filepath), { recursive: true });
await writeFile(filepath, data);
return `/audio/${key}`;
return key;
}
async getUrl(key: string, _expiresIn?: number): Promise<string> {