mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-24 00:00:46 +00:00
fix non secure deploy
This commit is contained in:
+302
-410
File diff suppressed because one or more lines are too long
+302
-410
File diff suppressed because one or more lines are too long
@@ -92,7 +92,7 @@
|
||||
} catch {
|
||||
//subtle not available, trying pure js
|
||||
const hash = new Sha256()
|
||||
hash.update(message)
|
||||
hash.update(message ?? '')
|
||||
const result = Array.from(await hash.digest())
|
||||
const hex = result.map((b) => b.toString(16).padStart(2, '0')).join('') // convert bytes to hex string
|
||||
return hex
|
||||
|
||||
Reference in New Issue
Block a user