This commit is contained in:
@ -70,7 +70,7 @@ export const ImageSecurity = {
|
||||
|
||||
throw new Error('Invalid image size')
|
||||
},
|
||||
sign: async (data) => {
|
||||
sign: (data) => {
|
||||
return createSign('RSA-SHA1').update(data).sign({ key: createPrivateKey(server.keys.privateKey) }, 'hex')
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user