mirror of
https://github.com/gomods/athens
synced 2026-02-03 08:40:31 +00:00
Upgrades the AWS SDK to v2. AWS S3 bucket urls will now error if they are not prefixed with a schema (example: https://).
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
if (!(Test-Path env:GO_ENV)) {$env:GO_ENV = "test"}
|
||||
|
||||
if (!(Test-Path env:ATHENS_MINIO_ENDPOINT)) {
|
||||
$env:ATHENS_MINIO_ENDPOINT = "127.0.0.1:9001"
|
||||
$env:ATHENS_MINIO_ENDPOINT = "http://127.0.0.1:9001"
|
||||
}
|
||||
|
||||
if (!(Test-Path env:ATHENS_MONGO_STORAGE_URL)) {
|
||||
|
||||
@@ -7,7 +7,7 @@ if [ -z ${GO_ENV} ]; then
|
||||
fi
|
||||
|
||||
if [ -z ${ATHENS_MINIO_ENDPOINT} ]; then
|
||||
export ATHENS_MINIO_ENDPOINT="127.0.0.1:9001"
|
||||
export ATHENS_MINIO_ENDPOINT="http://127.0.0.1:9001"
|
||||
fi
|
||||
|
||||
if [ -z ${ATHENS_MONGO_STORAGE_URL} ]; then
|
||||
|
||||
Reference in New Issue
Block a user