Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c49916 commit 700b591Copy full SHA for 700b591
site/src/xServices/workspaceBuild/workspaceBuildXService.ts
@@ -127,8 +127,7 @@ export const workspaceBuildMachine = createMachine(
127
return new Promise<void>((resolve, reject) => {
128
const proto = location.protocol === "https:" ? "wss:" : "ws:"
129
const socket = new WebSocket(
130
- `${proto}//${location.host}/api/v2/workspacebuilds/${ctx.buildId}/logs?follow=true&after=` +
131
- ctx.timeCursor.getTime(),
+ `${proto}//${location.host}/api/v2/workspacebuilds/${ctx.buildId}/logs?follow=true&after=${ctx.timeCursor.getTime()}`,
132
)
133
socket.binaryType = "blob"
134
socket.addEventListener("message", (event) => {
0 commit comments