Skip to content

Commit 40a62a8

Browse files
committed
Fix relative api path
1 parent 478db51 commit 40a62a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ const postWorkspaceBuild =
123123
transition,
124124
templateVersionId,
125125
}
126-
const response = await axios.post(`api/v2/workspaces/${workspaceId}/builds`, payload)
126+
const response = await axios.post(`/api/v2/workspaces/${workspaceId}/builds`, payload)
127127
return response.data
128128
}
129129

0 commit comments

Comments
 (0)