adminjs-upload
adminjs-upload copied to clipboard
Suggestion: ability to change amazon url
Hi, i'm using another S3 services which is not s3.amazonaws.com so an ability for changing that domain is appreciated
Is there any plan to roll out an update to AWSOptions to allow for an endpoint change?
Actually you can pass endpoint key to AWSOptions.
const AWScredentials = {
endpoint: process.env.SPACE_ENDPOINT,
region: "us-east-1",
bucket: process.env.BUCKET,
forcePathStyle: true, // Configures to use subdomain/virtual calling format.
credentials: {
accessKeyId: process.env.ACCESS_KEY_ID,
secretAccessKey: process.env.SPACES_SECRET,
}
};