Skip to content
This repository was archived by the owner on Nov 16, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ex_app/lib/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,9 @@ def start_visionatrix() -> None:
if os.environ.get("DISABLE_WORKER") != "1":
# Run server in background and redirect output to server.log
server_log = open("server.log", "wb")
ui_path = "--ui=visionatrix/client_harp" if HARP_ENABLED else "--ui"
subprocess.Popen(
[visionatrix_python, "-m", "visionatrix", "run", "--mode=SERVER", "--ui"],
[visionatrix_python, "-m", "visionatrix", "run", "--mode=SERVER", ui_path],
stdout=server_log,
stderr=subprocess.STDOUT,
)
Expand Down
4 changes: 4 additions & 0 deletions ex_app/src/views/IframeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ export default {
iframeSrcUrl += '/'
}

if (process.env.HARP_ENABLED) {
iframeSrcUrl = iframeSrcUrl.replace('/index.php', '')
}

return iframeSrcUrl
},
handleIframeRouteChange(route) {
Expand Down