react-filepond: error 400

hi I want to preview my image from server in fileppond if the file was uploaded but I get 400 error this my code

<FilePond type={'remote'} allowMultiple={true} ref={ref => {  this.getRefFileComponent(ref) }}>
  {this.state.files.map(file => {
      return <File key={file}
        src={`${window.location.protocol}` + "//" + process.env.REACT_APP_BACKEND + file.address}/>
  })}
</FilePond>

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 21

Most upvoted comments

sorry I did it