Open alanhe421 opened 1 year ago
default-src 'self' https://cs-res-1258344699.file.myqcloud.com/; img-src 'self' https://cs-res-1258344699.file.myqcloud.com/ https: data: blob:; media-src 'self' https://cs-res-1258344699.file.myqcloud.com/; script-src 'self' 'unsafe-eval' 'sha256-HuyBNEnumn/Bw3njx2R0EXAv9HicWHLQQd9NJ9ruyrk=' 'sha256-bB36OH+7jasqz41ZpqtH9l9cQ4U7ttmhz2ZtlkT/Ggk=' 'sha256-EedBSAXIe6lScECyUaFb8Q0XwCH8E/xuc5huek8eQ0o=' 'sha256-yxwQ9j8YGPsfU554CNGiSCW08z5yqDVvuQmssjoPsm8=' 'sha256-fh3TwPMflhsEIpR8g1OYTIMVWhXTLcjQ9kh2tIpmv54=' http://wx.cloudstudio.net/ https://cs-res-1258344699.file.myqcloud.com/ https://cdn-go.cn/; child-src 'self' https://cs-res-1258344699.file.myqcloud.com/; frame-src 'self' https://*.vscode-webview.net https://*.vscode-cdn.net https://cs-res-1258344699.file.myqcloud.com/ data:; worker-src 'self' https://cs-res-1258344699.file.myqcloud.com/ data:; style-src 'self' 'unsafe-inline' https://cs-res-1258344699.file.myqcloud.com/; connect-src 'self' https://cs-res-1258344699.file.myqcloud.com/ ws: wss: https: http:; font-src 'self' https://cs-res-1258344699.file.myqcloud.com/ blob:; manifest-src 'self' https://cs-res-1258344699.file.myqcloud.com/;
/root/.local/lib
supervisord: Exec format error
注意supervisord针对x86/arm需要使用不同版本
arm/x86,宿主文件workbench.html内容是一致的
<!-- Copyright (C) Microsoft Corporation. All rights reserved. -->
<!DOCTYPE html>
<html>
<head>
<script>
performance.mark('code/didStartRenderer');
</script>
<meta charset="utf-8"/>
<!-- Mobile tweaks -->
<meta name="mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-title" content="Code">
<link rel="apple-touch-icon"
href="https://cs-res-1258344699.file.myqcloud.com/cloudstudio/vscode/79aab9211c0b234c13eaf77a1e7378571155878c/release-standalone/resources/server/code-192.png"/>
<!-- Disable pinch zooming -->
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<!-- Workbench Configuration -->
<meta id="vscode-workbench-web-configuration"
data-settings="{"webviewEndpoint":"./stable-79aab9211c0b234c13eaf77a1e7378571155878c/static/out/vs/workbench/contrib/webview/browser/pre","userDataPath":"/root/.local/share/code-server","windowIndicator":{"label":"$(cloudstudio-icon) Cloud Studio"},"initialColorTheme":{"themeType":"dark"},"remoteAuthority":"wx.cloudstudio.net","configurationDefaults":{"files.saveConflictResolution":"overwriteFileOnDisk","workbench.colorTheme":"Default Dark+","workbench.startupEditor":"readme","window.menuBarVisibility":"visible","security.workspace.trust.enabled":false,"terminal.integrated.gpuAcceleration":"off","files.eol":"\n","editor.suggest.preview":true,"window.commandCenter":true,"C_Cpp.intelliSenseEngine":"disabled"},"developmentOptions":{"logLevel":2},"enableWorkspaceTrust":true,"folderUri":{"$mid":1,"path":"/root/RemoteWorking","scheme":"vscode-remote","authority":"wx.cloudstudio.net"},"productConfiguration":{"embedderIdentifier":"server-distro","extensionsGallery":{"serviceUrl":"https://internal-openvsx.cloudstudio.net/vscode/gallery","itemUrl":"https://open-vsx.org/vscode/item","resourceUrlTemplate":"https://openvsxorg.blob.core.windows.net/resources/{publisher}/{name}/{version}/{path}","controlUrl":"","recommendationsUrl":""}},"callbackRoute":"/stable-79aab9211c0b234c13eaf77a1e7378571155878c/callback"}">
<!-- Workbench Auth Session -->
<meta id="vscode-workbench-auth-session" data-settings="">
<!-- NLS Configuration -->
<meta id="vscode-remote-nls-configuration"
data-settings="{"locale":"zh-cn","availableLanguages":{"*":"zh-cn"},"_languagePackId":"5244843ad73cf2575717c83bd5b7a2ef.zh-cn","_translationsConfigFile":"/root/.local/share/code-server/clp/5244843ad73cf2575717c83bd5b7a2ef.zh-cn/tcf.json","_cacheRoot":"/root/.local/share/code-server/clp/5244843ad73cf2575717c83bd5b7a2ef.zh-cn","_resolvedLanguagePackCoreLocation":"/root/.local/share/code-server/clp/5244843ad73cf2575717c83bd5b7a2ef.zh-cn/79aab9211c0b234c13eaf77a1e7378571155878c","_corruptedFile":"/root/.local/share/code-server/clp/5244843ad73cf2575717c83bd5b7a2ef.zh-cn/corrupted.info","_languagePackSupport":true}">
<!-- Workbench Icon/Manifest/CSS -->
<link rel="icon"
href="https://cs-res-1258344699.file.myqcloud.com/cloudstudio/vscode/79aab9211c0b234c13eaf77a1e7378571155878c/release-standalone/resources/server/favicon.ico"
type="image/x-icon"/>
<link rel="manifest" href="./stable-79aab9211c0b234c13eaf77a1e7378571155878c/static/resources/server/manifest.json"
crossorigin="use-credentials"/>
<link data-name="vs/workbench/workbench.web.main" rel="stylesheet"
href="https://cs-res-1258344699.file.myqcloud.com/cloudstudio/vscode/79aab9211c0b234c13eaf77a1e7378571155878c/release-standalone/out/vs/workbench/workbench.web.main.css">
<script src="https://cdn-go.cn/aegis/aegis-sdk/latest/aegis.min.js"></script>
<script>
const getId = () => {
const hostname = window.location.hostname;
switch (true) {
case hostname.includes('cloudstudio'):
return 'okyPOubvJnKY2KEQ9m';
case hostname.includes('tencent'):
return '3o0lYfLoO0JL9rmbgO';
}
return '2epG3TKoKzZY1eg7zE';
};
const aegis = new Aegis({
id: getId(), // 上报 id
reportApiSpeed: true, // 接口测速
reportAssetSpeed: true, // 静态资源测速
spa: true, // spa 应用页面跳转的时候开启 pv 计算
});
</script>
<style>
.loading-iframe {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
border: none;
}
.workspace-loader {
visibility: hidden;
position: absolute;
}
</style>
</head>