mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-23 12:12:59 -05:00
Fix an error message when loading local modules failed (#1394)
* Fix an error message when loading local modules failed * Fix an error message when loading local modules failed
This commit is contained in:
@@ -25,7 +25,7 @@ export async function robustFetch(url: string, options?: RequestInit): Promise<R
|
||||
`'${error.message}'. Are your filename and path correct?`;
|
||||
} else {
|
||||
errMsg = `PyScript: Access to local files
|
||||
(using "Paths:" in <py-config>)
|
||||
(using [[fetch]] configurations 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