mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-10 09:00:36 +01:00
[chore] Fix type error in post-install
This commit is contained in:
parent
ab2427142c
commit
bee19908e7
@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user