mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-21 13:57:48 +00:00
Pass authentication token when opening ws console. Ref https://github.com/GNS3/gns3-web-ui/issues/1468
This commit is contained in:
parent
76f2314e08
commit
dbcb8a88c8
@ -72,7 +72,7 @@ export class NodeConsoleService {
|
||||
protocol = "wss"
|
||||
}
|
||||
|
||||
return `${protocol}://${controller.host}:${controller.port}/${environment.current_version}/projects/${node.project_id}/nodes/${node.node_id}/console/ws`
|
||||
return `${protocol}://${controller.host}:${controller.port}/${environment.current_version}/projects/${node.project_id}/nodes/${node.node_id}/console/ws?token=${controller.authToken}`
|
||||
}
|
||||
|
||||
openConsolesForAllNodesInWidget(nodes: Node[]) {
|
||||
|
Loading…
Reference in New Issue
Block a user