未验证 提交 8d934be6 编写于 作者: A Asher

Elaborate what won't work over an insecure domain

Closes #997.
上级 c5445094
......@@ -444,7 +444,7 @@ index d0f6e6b18a..1966fd297d 100644
-
diff --git a/src/vs/server/browser/client.ts b/src/vs/server/browser/client.ts
new file mode 100644
index 0000000000..1e6bca3b52
index 0000000000..95e70869f2
--- /dev/null
+++ b/src/vs/server/browser/client.ts
@@ -0,0 +1,224 @@
......@@ -559,7 +559,7 @@ index 0000000000..1e6bca3b52
+ if (!window.isSecureContext) {
+ (services.get(INotificationService) as INotificationService).notify({
+ severity: Severity.Warning,
+ message: 'code-server is being accessed over an insecure domain. Some functionality may not work as expected.',
+ message: 'code-server is being accessed over an insecure domain. Web views, the clipboard, and other functionality will not work as expected.',
+ actions: {
+ primary: [{
+ id: 'understand',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册