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:
woxtu
2023-05-05 21:47:35 +09:00
committed by GitHub
parent 5086c23d47
commit 213ced0c7f
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ describe('robustFetch', () => {
const expectedError = new FetchError(
ErrorCode.FETCH_ERROR,
`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>