mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	Update silerotts.js - Fixed Caching issue in some browsers
Added this line to disable caching of file so new files are always played instead of browser cached versions.
This commit is contained in:
		| @@ -109,7 +109,8 @@ class SileroTtsProvider { | |||||||
|             { |             { | ||||||
|                 method: 'POST', |                 method: 'POST', | ||||||
|                 headers: { |                 headers: { | ||||||
|                     'Content-Type': 'application/json' |                     'Content-Type': 'application/json', | ||||||
|  | 					'Cache-Control': 'no-cache'  // Added this line to disable caching of file so new files are always played - Rolyat 7/7/23 | ||||||
|                 }, |                 }, | ||||||
|                 body: JSON.stringify({ |                 body: JSON.stringify({ | ||||||
|                     "text": inputText, |                     "text": inputText, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user