mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04: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 {
|
return {
|
||||||
output,
|
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) => {
|
}).then((outputRaw) => {
|
||||||
cb(
|
cb(
|
||||||
outputRaw.outputFiles[0].text,
|
outputRaw.outputFiles[0].text,
|
||||||
outputRaw.outputFiles[0].hash.replaceAll('/','2')
|
outputRaw.outputFiles[0].hash.replaceAll('/','2').replaceAll("+",'5').replaceAll("^","7")
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue