Fix loading of demos

This commit is contained in:
ochafik 2024-12-25 13:49:51 +00:00 • committed by Olivier Chafik
commit b76ac89d44
3 changed files with 19 additions and 6 deletions

View file

@ -61,7 +61,7 @@ window.addEventListener('load', async () => {
registerCustomAppHeightCSSProperty();
const fs = await createEditorFS({prefix: '/', allowPersistence: isInStandaloneMode});
const fs = await createEditorFS({prefix: '/libraries/', allowPersistence: isInStandaloneMode});
await registerOpenSCADLanguage(fs, '/', zipArchives);