Hello There,
i am trying to include a Verge app into a webpage directly by including the JS and CSS Files:
<script src="/somefolder/3d/test_app/v3d.js"></script>
<script src="/somefolder/3d/test_app/test_app.js"></script>
<link rel="stylesheet" type="text/css" href="/somefolder/3d/test_app/test_app.css">
<div id="v3d-container">
<div id="fullscreen_button" class="fullscreen-button fullscreen-open" title="Toggle fullscreen mode">
</div>
</div>
This had worked flawlessly with Verge Version 4.0.0 and 4.0.1, but since Updating to 4.2.0 the import of visual_logic.js inside v3d.js tries to get the file by the current url rather than the directory where the v3d.js is located.
ERROR:
GET https://someurl.net/someslug/somepage/visual_logic.js net::ERR_ABORTED 404
Expected behaviour: The import of visual_logic should also work if v3d.js is not loaded from the verge app’s root folder.