File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ const getMissingParameters = (
108
108
export const watchAgentMetadata = ( agentId : string ) : OneWayWebSocket => {
109
109
const protocol = location . protocol === "https:" ? "wss:" : "ws:" ;
110
110
return new OneWayWebSocket (
111
- `${ protocol } //${ location . host } /api/v2/workspaceagents/${ agentId } /watch-metadata` ,
111
+ `${ protocol } //${ location . host } /api/v2/workspaceagents/${ agentId } /watch-metadata-ws ` ,
112
112
) ;
113
113
} ;
114
114
@@ -119,7 +119,7 @@ export const watchAgentMetadata = (agentId: string): OneWayWebSocket => {
119
119
export const watchWorkspace = ( workspaceId : string ) : OneWayWebSocket => {
120
120
const protocol = location . protocol === "https:" ? "wss:" : "ws:" ;
121
121
return new OneWayWebSocket (
122
- `${ protocol } //${ location . host } /api/v2/workspaces/${ workspaceId } /watch` ,
122
+ `${ protocol } //${ location . host } /api/v2/workspaces/${ workspaceId } /watch-ws ` ,
123
123
) ;
124
124
} ;
125
125
You can’t perform that action at this time.
0 commit comments