feature: added multiply proxy storage support (#1465)

This commit is contained in:
Nethius 2025-03-09 13:07:08 +07:00 committed by GitHub
parent b2af2e46ac
commit 0c9fd4aef4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -200,9 +200,9 @@ QStringList GatewayController::getProxyUrls()
QStringList proxyStorageUrl;
if (m_isDevEnvironment) {
proxyStorageUrl = QStringList { DEV_S3_ENDPOINT };
proxyStorageUrl = QString(DEV_S3_ENDPOINT).split(", ");
} else {
proxyStorageUrl = QStringList { PROD_S3_ENDPOINT };
proxyStorageUrl = QString(PROD_S3_ENDPOINT).split(", ");
}
QByteArray key = m_isDevEnvironment ? DEV_AGW_PUBLIC_KEY : PROD_AGW_PUBLIC_KEY;