Replies: 1 comment 1 reply
-
You’ve described your problem somewhat unclearly.
python3 -m http.server <port> --directory dist Everything works |
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.
-
Question
Now I'm using python 3.10 and flet 0.27. I followed the steps of tutorial to publish a simple demo code to static website. Then I used http.server of python with default port to test. Everything seems to be OK until now. So I open http://localhost:8000 in my browser and every step in cmd of http.server displayed with status code 200. But the page did not display, and there is only a progress ring running all the time. The demo code could work via python ***.py or flet run --web ***.py. I have no experiences of js and flutter. So I guess I missed some critical steps maybe. Please help me point out the key issues. Thanks a lot.
Code sample
No response
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions