coder / code-server

VS Code in the browser
https://coder.com
MIT License
67.27k stars 5.51k forks source link

[Feat]: In the Code Server service, the webview in my extension plugin cannot be displayed. How to solve it? #6657

Closed kevinKaikai closed 6 months ago

kevinKaikai commented 6 months ago

image

image

isatis-summer commented 6 months ago

This issue occurs when the browser accesses the code-server without using the HTTPS protocol. The first solution is to set up a reverse proxy and use an HTTPS certificate to solve this issue. The second solution is to enable Chrome's "unsafely-treat-insecure-origin-as-secure" feature, input the domain name, and set it to Enabled. image

code-asher commented 6 months ago

Closing in favor of the discussion https://github.com/coder/code-server/discussions/6656