bethecloud commited on
Commit
a1c24f4
1 Parent(s): e63a5af

hardcoded s3 endpoint

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ from botocore.exceptions import NoCredentialsError
10
  # Read S3 keys from environment variables
11
  s3_access_key = os.environ["S3_ACCESS_KEY"]
12
  s3_secret_key = os.environ["S3_SECRET_KEY"]
13
- s3_endpoint = os.environ["S3_ENDPOINT"]
14
 
15
  # Initialize Storj with boto3
16
  s3 = boto3.client(
 
10
  # Read S3 keys from environment variables
11
  s3_access_key = os.environ["S3_ACCESS_KEY"]
12
  s3_secret_key = os.environ["S3_SECRET_KEY"]
13
+ s3_endpoint = "https://gateway.storjshare.io"
14
 
15
  # Initialize Storj with boto3
16
  s3 = boto3.client(