Replies: 1 comment
-
Hm, that works in one specific case only: statically published web site with |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently,
flet-pyodide
dist folder is generated by a simple command calledflet publish
.But the problem is, if you want to put this
dist
folder in a specific path on your webhost, you need to specify it by--base-url
, then this set a<base href="/">
based on--base-url
value. This can be easier if the javascript set the base-url to be set automatically. I did edit the<base href
onindex.html
of the dist file to make it choosen automatic, and it did work, this is what I did:So, what the advantages of using this:
--base-url
.Can
flet
use this ?Beta Was this translation helpful? Give feedback.
All reactions