mirror of
https://github.com/certd/certd.git
synced 2026-05-17 13:57:31 +08:00
chore: 支持dynadot,会覆盖原有的dns解析,京东云也有问题,没有测试通过,这两个目前都有缺陷
This commit is contained in:
@@ -138,7 +138,11 @@ module.exports = class SignerV2 extends RequestSigner {
|
||||
}
|
||||
|
||||
hexEncodedBodyHash() {
|
||||
return this.hexEncodedHash(this.request.request.body || "");
|
||||
let body = this.request.request?.body;
|
||||
if (body && body instanceof ReadableStream) {
|
||||
body = this.request.request?.bodyCache;
|
||||
}
|
||||
return this.hexEncodedHash(body || "");
|
||||
/* var request = this.request;
|
||||
if (this.isPresigned() && this.serviceName === 's3' && !request.body) {
|
||||
return 'UNSIGNED-PAYLOAD';
|
||||
|
||||
Reference in New Issue
Block a user