region-fix
This commit is contained in:
parent
10ddd221e5
commit
336e46268c
|
@ -1,4 +1,4 @@
|
||||||
FROM rust as build
|
FROM rust AS build
|
||||||
|
|
||||||
# had to add this for open-ssl
|
# had to add this for open-ssl
|
||||||
RUN apt-get update -y && \
|
RUN apt-get update -y && \
|
||||||
|
|
|
@ -64,7 +64,7 @@ impl AppState {
|
||||||
|
|
||||||
// Конфигурируем клиент S3 для AWS
|
// Конфигурируем клиент S3 для AWS
|
||||||
let aws_config = aws_config::defaults(BehaviorVersion::latest())
|
let aws_config = aws_config::defaults(BehaviorVersion::latest())
|
||||||
.region("us-east-1")
|
.region("eu-west-1")
|
||||||
.endpoint_url(aws_endpoint)
|
.endpoint_url(aws_endpoint)
|
||||||
.credentials_provider(Credentials::new(
|
.credentials_provider(Credentials::new(
|
||||||
aws_access_key,
|
aws_access_key,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user