Skip to content

Commit 700b591

Browse files
Update site/src/xServices/workspaceBuild/workspaceBuildXService.ts
Co-authored-by: Abhineet Jain <AbhineetJain@users.noreply.github.com>
1 parent 1c49916 commit 700b591

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

site/src/xServices/workspaceBuild/workspaceBuildXService.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ export const workspaceBuildMachine = createMachine(
127127
return new Promise<void>((resolve, reject) => {
128128
const proto = location.protocol === "https:" ? "wss:" : "ws:"
129129
const socket = new WebSocket(
130-
`${proto}//${location.host}/api/v2/workspacebuilds/${ctx.buildId}/logs?follow=true&after=` +
131-
ctx.timeCursor.getTime(),
130+
`${proto}//${location.host}/api/v2/workspacebuilds/${ctx.buildId}/logs?follow=true&after=${ctx.timeCursor.getTime()}`,
132131
)
133132
socket.binaryType = "blob"
134133
socket.addEventListener("message", (event) => {

0 commit comments

Comments
 (0)