Skip to content

Commit a8b7d8f

Browse files
authored
Merge pull request #91 from ClayPulse/hotfix
Hotfix workspace container create terminal returns url has no scheme
2 parents 4676fd0 + 751b002 commit a8b7d8f

File tree

1 file changed

+1
-1
lines changed
  • remote-workspace/src/servers/api-server/platform-api

1 file changed

+1
-1
lines changed

remote-workspace/src/servers/api-server/platform-api/handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export async function handlePlatformAPIRequest(
103103
case "get-installation-path":
104104
return await handleGetInstallationPath();
105105
case "create-terminal":
106-
return `${host}/${instanceId}/terminal/ws`;
106+
return `wss://${host}/${instanceId}/terminal/ws`;
107107
default:
108108
// Do not reflect input data back to the client, return an explicit error message.
109109
return { error: "Unknown operation" };

0 commit comments

Comments
 (0)