mirror of
https://github.com/VSCodium/vscodium
synced 2024-08-27 04:49:43 +00:00
fix: make webview works again (#1514)
This commit is contained in:
parent
7afbfe03ad
commit
272f67d95b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue