mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-03 04:10:04 +02:00
update node modules
This commit is contained in:
2
node_modules/aws4/aws4.js
generated
vendored
2
node_modules/aws4/aws4.js
generated
vendored
@@ -57,7 +57,7 @@ function RequestSigner(request, credentials) {
|
||||
}
|
||||
|
||||
RequestSigner.prototype.matchHost = function(host) {
|
||||
var match = (host || '').match(/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com$/)
|
||||
var match = (host || '').match(/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com(\.cn)?$/)
|
||||
var hostParts = (match || []).slice(1, 3)
|
||||
|
||||
// ES's hostParts are sometimes the other way round, if the value that is expected
|
||||
|
Reference in New Issue
Block a user