diff src/site.js @ 73:60ebb333b40c default tip

chunked encoding
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 28 Aug 2025 05:16:32 -0600
parents cc20eebaa74a
children
line wrap: on
line diff
--- a/src/site.js	Mon Aug 25 03:45:03 2025 -0600
+++ b/src/site.js	Thu Aug 28 05:16:32 2025 -0600
@@ -166,7 +166,7 @@
 				rt.remove();
 			}
 			//console.log(mdDiv.textContent);
-			parent.querySelector('audio').src = `/tts.mp3?voice=${voice}&instructions=${encodeURIComponent(instructions)}&text=${encodeURIComponent(mdDiv.textContent)}`;
+			parent.querySelector('audio').src = `/tts.wav?voice=${voice}&instructions=${encodeURIComponent(instructions)}&text=${encodeURIComponent(mdDiv.textContent)}`;
 		}
 	}
 }