mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 06:03:34 +01:00
Remove unwanted strings in hash
This commit is contained in:
parent
b41284c30f
commit
e17aa9af96
1 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ const convertTypescript = (content: string) => {
|
|||
|
||||
return {
|
||||
output,
|
||||
hash: outputRaw.outputFiles[0].hash.replaceAll('/','2')
|
||||
hash: outputRaw.outputFiles[0].hash.replaceAll('/','2').replaceAll("+",'5').replaceAll("^","7")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -238,7 +238,7 @@ const convertTypescriptWatched = (content: string, cb: (output:string, hash: str
|
|||
}).then((outputRaw) => {
|
||||
cb(
|
||||
outputRaw.outputFiles[0].text,
|
||||
outputRaw.outputFiles[0].hash.replaceAll('/','2')
|
||||
outputRaw.outputFiles[0].hash.replaceAll('/','2').replaceAll("+",'5').replaceAll("^","7")
|
||||
)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue