Skip to content

Commit

Permalink
s3 href endpoint update
Browse files Browse the repository at this point in the history
  • Loading branch information
Matnabru committed Sep 12, 2023
1 parent 319a642 commit b348e44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/integrations/gei-s3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gei-s3",
"version": "0.7.0",
"version": "0.7.1",
"description": "Automatically generated by graphql-editor-cli",
"main": "lib/index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions packages/integrations/gei-s3/src/S3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const initializeS3Client = (): S3ClientDetails => {
'SPACES_SECRET',
]);

const endpoint = process.env.SPACES_ENDPOINT ? `${SPACES_REGION}.${process.env.SPACES_ENDPOINT}` : undefined;

const endpoint = process.env.SPACES_ENDPOINT ? `https://${SPACES_REGION}.${process.env.SPACES_ENDPOINT}` : undefined;
console.log(endpoint)
s3 = {
client: new S3Client({
region: SPACES_REGION,
Expand Down

0 comments on commit b348e44

Please sign in to comment.