I have a url that returns a file, but the problem is that in the Firefox browser, the file is displayed correctly, but in the Chrome and Edge browsers, it downloads instead of displaying. None of the solutions I searched for solve this problem correctly, please. guide me
<iframe
style={style} width="100%" height="100%"
src={`/test?letterReference=${this.props.letterReference}&fileReference=${this.props.fileReference}#toolbar=0&navbar=0`}>
</iframe>