添加 API 文档
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Qumolama.d
2022-05-18 15:47:15 +08:00
parent db72ad3694
commit 877e1e4587
10 changed files with 306 additions and 13 deletions

View File

@ -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')
}
}