@lskjs/upload
Version:
LSK module for uploading files.
27 lines (26 loc) • 574 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _default = {
allowGuest: false,
// prefix: 'file_',
// postfix: '',
// formats: ['png', 'jpg', 'jpeg', 'gif'],
// mimetypes: ['png', 'jpg', 'jpeg', 'gif'],
// allowSetFilename: true,
local: {
// exteralPath: '/storage',
path: 'storage',
maxSize: '50mb'
},
s3: {
acl: 'public-read',
accessKeyId: '1111',
secretAccessKey: '2222',
bucket: '3333'
}
};
exports["default"] = _default;
//# sourceMappingURL=config.js.map