mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
[chore] Fix type error in post-install
This commit is contained in:
@@ -135,7 +135,7 @@ function createDefaultFiles() {
|
|||||||
function getMd5Hash(data) {
|
function getMd5Hash(data) {
|
||||||
return crypto
|
return crypto
|
||||||
.createHash('md5')
|
.createHash('md5')
|
||||||
.update(data)
|
.update(new Uint8Array(data))
|
||||||
.digest('hex');
|
.digest('hex');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user