sillytavern
Advanced tools
Comparing version 1.8.3 to 1.8.4
@@ -52,3 +52,3 @@ { | ||
}, | ||
"version": "1.8.3", | ||
"version": "1.8.4", | ||
"scripts": { | ||
@@ -55,0 +55,0 @@ "start": "node server.js", |
@@ -112,3 +112,4 @@ import { doExtrasFetch, getApiUrl, modules } from "../../extensions.js" | ||
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 | ||
}, | ||
@@ -115,0 +116,0 @@ body: JSON.stringify({ |
@@ -384,2 +384,3 @@ /* | ||
} | ||
@@ -401,3 +402,3 @@ get_device_id() { | ||
const r = await request_with_retries(() => this.session.get(this.home_url)); | ||
const r = await request_with_retries(() => this.session.post(this.home_url)); | ||
const jsonRegex = /<script id="__NEXT_DATA__" type="application\/json">(.+?)<\/script>/; | ||
@@ -404,0 +405,0 @@ const jsonText = jsonRegex.exec(r.data)[1]; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36527337
58694