Replies: 1 comment 1 reply
-
Try using the html web renderer: ft.app(main, web_renderer=ft.WebRenderer.HTML) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I studied streamlit before, and when I wanted to migrate the function to flet, I found that the image had a cross-domain problem, and the same image address would not appear cross-domain in streamlit, but it would appear in flet, which made me very confused.
streamlit code:
flet error:
As far as I know, streamlit seems to handle cross-domain images through internal servers, so does flet have a similar processing mechanism? If not, can you refer to this method?
And now I'm using the FLASK framework to open a proxy server inside the flet to handle the cross-domain problem of images,the code is as follows
image proxy
Beta Was this translation helpful? Give feedback.
All reactions