Skip to content

Commit

Permalink
fix: Connect to shared sessions via internal session viewer
Browse files Browse the repository at this point in the history
In addition, enable Xpra sharing by default.
  • Loading branch information
MoritzWeber0 committed Nov 14, 2024
1 parent ad8e6f8 commit eca76fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/capellacollab/core/database/migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def get_eclipse_session_configuration() -> (
if not core.LOCAL_DEVELOPMENT_MODE
else "http://localhost:8080"
)
+ "{CAPELLACOLLAB_SESSIONS_BASE_PATH}/?floating_menu=0&path={CAPELLACOLLAB_SESSIONS_BASE_PATH}/"
+ "{CAPELLACOLLAB_SESSIONS_BASE_PATH}/?floating_menu=0&sharing=1&path={CAPELLACOLLAB_SESSIONS_BASE_PATH}/"
),
cookies={},
sharing=tools_models.ToolSessionSharingConfiguration(
Expand Down
2 changes: 1 addition & 1 deletion backend/capellacollab/sessions/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def get_all_sessions(
)
def get_session(
session: models.DatabaseSession = fastapi.Depends(
injectables.get_existing_session
injectables.get_existing_session_including_shared
),
):
return session
Expand Down
2 changes: 1 addition & 1 deletion helm/templates/routing/sessions.ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
rules:
- http:
paths:
- path: /session
- path: /session/
pathType: Prefix
backend:
service:
Expand Down

0 comments on commit eca76fb

Please sign in to comment.