backend: profile api: return additional data in profile /browser/<id> endpoint (#537)

supports #533 , switching to client side rendering from VNC websocket
This commit is contained in:
Ilya Kreymer 2023-01-31 11:58:50 -08:00 committed by GitHub
parent 2e6bf7535d
commit 6df31e13ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,8 @@ class ProfileOps:
}
url = f"{scheme}://{host}/browser/{browserid}/?{urlencode(params)}"
return {"url": url}
params["url"] = url
return params
async def ping_profile_browser(self, browserid):
"""ping profile browser to keep it running"""