Large file uploads to temporary file
This commit is contained in:
@@ -573,7 +573,9 @@ export default withStyles(styles, { withTheme: true })(
|
||||
this.setState({ openUploadFileDialog: false });
|
||||
}
|
||||
}
|
||||
uploadPage={"uploadUserFile?directory=" + encodeURIComponent(this.props.fileProperty.directory)}
|
||||
uploadPage={"uploadUserFile?directory=" + encodeURIComponent(
|
||||
pathConcat(this.props.fileProperty.directory,this.state.navDirectory)
|
||||
)}
|
||||
onUploaded={() => { this.requestFiles(this.state.navDirectory); }}
|
||||
fileProperty={this.props.fileProperty}
|
||||
|
||||
|
||||
@@ -766,8 +766,8 @@ export class PiPedalModel //implements PiPedalModel
|
||||
|
||||
}
|
||||
|
||||
maxFileUploadSize: number = 100000000;
|
||||
maxPresetUploadSize: number = 512 * 1024;
|
||||
maxFileUploadSize: number = 512*1024*1024;
|
||||
maxPresetUploadSize: number = 1024 * 1024;
|
||||
debug: boolean = false;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user