This commit is contained in:
Timothy Jaeryang Baek
2026-03-29 21:01:10 -05:00
parent 4777f4fa32
commit a06685a47b
8 changed files with 86 additions and 36 deletions
+4
View File
@@ -105,6 +105,10 @@ async def proxy_terminal(
target_url += f'?{request.query_params}'
headers = {'X-User-Id': user.id}
# Forward per-session cwd tracking header
session_id = request.headers.get('x-session-id')
if session_id:
headers['X-Session-Id'] = session_id
cookies = {}
auth_type = connection.get('auth_type', 'bearer')