-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Hi!
I installed v3.12.0 and everything seems fine. I can now view images and see Git Graph webview:
Unfortunately, it only works when I set security.csp.enable=false
in firefox 92.0's about:counfig.
When security.csp.enable=true
I get this error:
Content Security Policy: The page’s settings blocked the loading of a resource at https://10.0.70.102:5777/webview/service-worker.js?id=5172e4da-f9d5-45e8-867e-c0a1b91924a0&swVersion=2&extensionId=vscode.image-preview&platform=browser&vscode-resource-base-authority=vscode-resource.vscode-webview.net&parentOrigin=https%3A%2F%2F10.0.70.102%3A5777 (“img-src”).
I was unable to load webviews in chromium.
I'm running server as
code-server\
--bind-addr 0.0.0.0:5002\
--auth none\
--cert\
--cert-host 10.0.70.102
There's this SO thread, but I understand nothing. Can this be fixed? Or will it only work with valid certificates?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working