From 96c0689a6490647e74c3ec7b82bd63119192e90d Mon Sep 17 00:00:00 2001 From: NarayanBavisetti Date: Mon, 20 Nov 2023 23:10:41 +0530 Subject: [PATCH] chore: aws storage endpoint change --- apiserver/plane/app/views/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/plane/app/views/project.py b/apiserver/plane/app/views/project.py index d06e77215..2d616e5a6 100644 --- a/apiserver/plane/app/views/project.py +++ b/apiserver/plane/app/views/project.py @@ -987,7 +987,7 @@ class ProjectPublicCoverImagesEndpoint(BaseAPIView): "/" ): # This line ensures we're only getting files, not "sub-folders" files.append( - f"https://{settings.AWS_S3_BUCKET_NAME}.s3.{settings.AWS_REGION}.amazonaws.com/{content['Key']}" + f"https://{settings.AWS_STORAGE_BUCKET_NAME}.s3.{settings.AWS_REGION}.amazonaws.com/{content['Key']}" ) return Response(files, status=status.HTTP_200_OK)