mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Upgrade aws-sdk to v3 (re-attempt) (#28410)
* Upgrade `aws-sdk` to v3 Also vendored nodemailer-ses-transport * Moved default region to CE settings * Ensure timeout is added to `requestHandler` and `region` is populated * fix unsigned header in signed URL request The x-amz-acl header is not needed when using the signed request, as ACL are already defined when creating the signed URL in PutObjectCommand constructor. * Add default AWS region for latexqc service * remove unnecessary region in compose files * Use AWS_REGION=us-west-2 for history-v1 * prevent retries uploading streams with PutObjectCommand * Remove AWS SDK JS message suppression GitOrigin-RevId: 6fda6f02160023ffed76143397bbd965f86a9509
This commit is contained in:
@@ -367,6 +367,7 @@ if (process.env.OVERLEAF_EMAIL_FROM_ADDRESS != null) {
|
||||
// AWS Creds
|
||||
AWSAccessKeyID: process.env.OVERLEAF_EMAIL_AWS_SES_ACCESS_KEY_ID,
|
||||
AWSSecretKey: process.env.OVERLEAF_EMAIL_AWS_SES_SECRET_KEY,
|
||||
region: process.env.OVERLEAF_EMAIL_AWS_SES_REGION || 'us-east-1',
|
||||
|
||||
// SMTP Creds
|
||||
host: process.env.OVERLEAF_EMAIL_SMTP_HOST,
|
||||
@@ -383,10 +384,6 @@ if (process.env.OVERLEAF_EMAIL_FROM_ADDRESS != null) {
|
||||
},
|
||||
}
|
||||
|
||||
if (process.env.OVERLEAF_EMAIL_AWS_SES_REGION != null) {
|
||||
settings.email.parameters.region = process.env.OVERLEAF_EMAIL_AWS_SES_REGION
|
||||
}
|
||||
|
||||
if (
|
||||
process.env.OVERLEAF_EMAIL_SMTP_USER != null ||
|
||||
process.env.OVERLEAF_EMAIL_SMTP_PASS != null
|
||||
|
||||
Reference in New Issue
Block a user