Help with websocket #16565
Help with websocket
#16565
|
Cockpit version: 251 I would like to make websocket connection via cockpit.channel. I would like to do following Can you give me hint or example for this? Thanks |
Answered by
martinpitt
Nov 5, 2021
Replies: 3 comments
|
It would help me too! |
0 replies
|
I've tried this code: but it ended with: |
0 replies
|
As a first step you'd need to allow this in the Content-Security-Policy in your manifest.json. Add something like I don't know if that's already sufficient, but that at least takes care of the C-S-P blocking? |
0 replies
Answer selected by
martinpitt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As a first step you'd need to allow this in the Content-Security-Policy in your manifest.json. Add something like
I don't know if that's already sufficient, but that at least takes care of the C-S-P blocking?