Plotly html file in iframe got downloaded instead of displayed


Hi there,

I am using plotly offline to write plot to hmtl file. And then upload those file to google cloud storage.
I want to display the html file using iframe. But when I open the page containing the iframe, the plotly html file just got downloaded and not displayed on the iframe.
Other html file can be displayed using the same iframe.

Is there any way to display the plotly result in iframe?


Edit: nevermind, turn out i need to set the content type when writing to gcs.