External webui inside cockpit #16868
-
Would it be possible to embed an external web site (for example web ui for a specific app) inside the cockpit interface? |
Beta Was this translation helpful? Give feedback.
Answered by
martinpitt
Jan 24, 2022
Replies: 1 comment
-
Yes, you can do that. In your page, embed the external site in an iframe, such as this:
In order for browsers to actually allow that, you also need to extend the Content-Security-Policy in your
I just tested that with modifying cockpit's pinger example as above: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
martinpitt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, you can do that. In your page, embed the external site in an iframe, such as this:
In order for browsers to actually allow that, you also need to extend the Content-Security-Policy in your
manifest.json
:I just tested that with modifying cockpit's pinger example as above: