Airboat Extension - Files
Examples and Usages
import '@abext/files';
Routes
Configuration example:
{
"extensions": {
"files": {
"s3ClientConfiguration": {
"region":"us-east-1",
"accessKeyId":"....",
"secretAccessKey":"...."
},
"s3BucketName": "my-cool-projects",
"validContentType":{
"image/jpeg": ".jpg",
"image/png": ".png",
"image/gif": ".gif",
"application/pdf": ".pdf",
"application/x-gtar": ".tar.gz",
},
"keyPrefix":"..."
}
}
}
Airboat Extension - Files
Examples and Usages
import '@abext/files';
Routes
Configuration example:
{
"extensions": {
"files": {
"s3ClientConfiguration": {
"region":"us-east-1",
"accessKeyId":"....",
"secretAccessKey":"...."
},
"s3BucketName": "my-cool-projects",
"validContentType":{
"image/jpeg": ".jpg",
"image/png": ".png",
"image/gif": ".gif",
"application/pdf": ".pdf",
"application/x-gtar": ".tar.gz",
},
"keyPrefix":"..."
}
}
}