mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-03 03:26:42 +00:00
Update notification.service.ts
This commit is contained in:
parent
fa22ce5d0f
commit
60a9e45e4a
@ -9,7 +9,7 @@ export class NotificationService {
|
|||||||
protocol = "wss"
|
protocol = "wss"
|
||||||
}
|
}
|
||||||
|
|
||||||
return `${protocol}://${server.host}:${server.port}/v3/notifications/ws`;
|
return `${protocol}://${server.host}:${server.port}/v3/notifications/ws?token=${server.authToken}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -19,6 +19,6 @@ export class NotificationService {
|
|||||||
protocol = "wss"
|
protocol = "wss"
|
||||||
}
|
}
|
||||||
|
|
||||||
return `${protocol}://${server.host}:${server.port}/v3/projects/${project_id}/notifications/ws`;
|
return `${protocol}://${server.host}:${server.port}/v3/projects/${project_id}/notifications/ws?token=${server.authToken}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user