mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-21 03:05:38 -05:00
eliminate py-env altogether (#775)
* examples use toml now * use 0.21.2 for now * change config in docs * fix pre-commit
This commit is contained in:
@@ -68,7 +68,7 @@ function handleFetchError(e: Error, singleFile: string) {
|
||||
let errorContent: string;
|
||||
if (e.message.includes('TypeError: Failed to fetch')) {
|
||||
errorContent = `<p>PyScript: Access to local files
|
||||
(using "Paths:" in <py-env>)
|
||||
(using "Paths:" in <py-config>)
|
||||
is not available when directly opening a HTML file;
|
||||
you must use a webserver to serve the additional files.
|
||||
See <a style="text-decoration: underline;" href="https://github.com/pyscript/pyscript/issues/257#issuecomment-1119595062">this reference</a>
|
||||
|
||||
Reference in New Issue
Block a user