@abext/files 中文文档教程
Airboat Extension - Files
Examples and Usages
import '@abext/files';
Routes
POST /uploads
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
POST /uploads
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":"..."
}
}
}
更多
你可能也喜欢
- 1000films 中文文档教程
- 23mofang-react-native-datepicker 中文文档教程
- 63pokupki-nodejs-common 中文文档教程
- @3sidedcube/prettier-config 中文文档教程
- @4geit/rct-unlink-all 中文文档教程
- @4lch4/discord.js 中文文档教程
- @51npm/freedom-middleware-webpack2 中文文档教程
- @aaaz/gatsby-plugin-remote-images 中文文档教程
- @aaquib/whatsasenanpm 中文文档教程
- @abenfield/react-beautiful-dnd 中文文档教程