fix paths to host app in non-root side folder

This commit is contained in:
Dmitry Vasilev
2023-01-18 16:30:44 +08:00
parent 9a6b700086
commit 25044547d6
3 changed files with 8 additions and 7 deletions

2
src/effects.js vendored
View File

@@ -32,7 +32,7 @@ const load_external_imports = async state => {
// Note that we use the same origin as current page (where Leporello
// is hosted), so Leporello can access window object for custom
// `html_file`
window.location.origin + '/' + FILES_ROOT + '/' + u
FILES_ROOT + '/' + u
))
)
const modules = Object.fromEntries(