Question about the VSCode URL API: `GET <http://lo...
# proj-sdk
f
Question about the VSCode URL API:
GET http://localhost:{runtimePort}/api/vscode/url
->
200 OK { "url": "http://localhost:8001/?tkn=ba04f54d-0206-4f19-a0ae-659996e94e6d&folder=workspace" }
But the returned URL is broken and does not serve a vscode tab. I've tried passing
base_url
as a query param to
http://localhost:{runtimePort}
but still no luck. Am I missing something here?
w
logs in the container might tell you if/where VS Code is running
👀 1
my guess is we need to execute a cmd on startup that starts vs code
c
i think vscode doesn't support custom port irrc
did you mount the 8001 port locally?
w
ah that could be it--we need to start the docker container w/ ports mapped