mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-24 20:00:15 +10:00
fix: make webview works again (#1514)
This commit is contained in:
@@ -979,24 +979,6 @@ index c13d93e..206e46a 100644
|
||||
- content += `// By default, VS Code trusts "localhost".\n`;
|
||||
+ content += `// By default, VSCodium trusts "localhost".\n`;
|
||||
}
|
||||
diff --git a/src/vs/workbench/contrib/webview/browser/pre/index-no-csp.html b/src/vs/workbench/contrib/webview/browser/pre/index-no-csp.html
|
||||
index eceefad..b8ae78a 100644
|
||||
--- a/src/vs/workbench/contrib/webview/browser/pre/index-no-csp.html
|
||||
+++ b/src/vs/workbench/contrib/webview/browser/pre/index-no-csp.html
|
||||
@@ -188,3 +188,3 @@
|
||||
if (acquired && !${allowMultipleAPIAcquire}) {
|
||||
- throw new Error('An instance of the VS Code API has already been acquired');
|
||||
+ throw new Error('An instance of the VSCodium API has already been acquired');
|
||||
}
|
||||
diff --git a/src/vs/workbench/contrib/webview/browser/pre/index.html b/src/vs/workbench/contrib/webview/browser/pre/index.html
|
||||
index 8e3d08e..3975d37 100644
|
||||
--- a/src/vs/workbench/contrib/webview/browser/pre/index.html
|
||||
+++ b/src/vs/workbench/contrib/webview/browser/pre/index.html
|
||||
@@ -189,3 +189,3 @@
|
||||
if (acquired && !${allowMultipleAPIAcquire}) {
|
||||
- throw new Error('An instance of the VS Code API has already been acquired');
|
||||
+ throw new Error('An instance of the VSCodium API has already been acquired');
|
||||
}
|
||||
diff --git a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts
|
||||
index 5b4255e..f52e6bf 100644
|
||||
--- a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts
|
||||
|
||||
Reference in New Issue
Block a user