Closed leijue222 closed 2 years ago
I am using HTTP. My own environment cannot use HTTPS.
The preview renders in a webview. Webviews use Service Workers. Browsers require HTTPS or secure environments to use Service Workers. Sadly, there's nothing we can do on code-server's side. I suggest trying something like Caddy or NGINX, or even a simpler solution like ngrok
or localtunnel
.
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.4.0|4.5.1|4.5.2Steps to Reproduce
Expected
We can use the preview function to see a preview view of the .md file.
Actual
The preview view interface is blank.
Logs
No response
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over HTTPS?
Notes
I am using HTTP. My own environment cannot use HTTPS.