Spaces:
Sleeping
Sleeping
Audio issue elevenlabs
Browse files
app/api/voice/save/route.ts
CHANGED
|
@@ -4,7 +4,7 @@ import path from 'path'
|
|
| 4 |
|
| 5 |
export const dynamic = 'force-dynamic'
|
| 6 |
|
| 7 |
-
const VOICE_DATA_DIR = path.join(
|
| 8 |
|
| 9 |
// Ensure directory exists
|
| 10 |
if (!fs.existsSync(VOICE_DATA_DIR)) {
|
|
|
|
| 4 |
|
| 5 |
export const dynamic = 'force-dynamic'
|
| 6 |
|
| 7 |
+
const VOICE_DATA_DIR = path.join('/tmp', 'voice-content')
|
| 8 |
|
| 9 |
// Ensure directory exists
|
| 10 |
if (!fs.existsSync(VOICE_DATA_DIR)) {
|