Skip to content

Commit e5fc63f

Browse files
committed
Fix accessing manifest behind basic auth
Apparently the manifest spec doesn't include sending credentials in an attempt to be secure by default. Fixes #1212.
1 parent 015a99e commit e5fc63f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/browser/workbench-build.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
<!-- Workbench Icon/Manifest/CSS -->
3939
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
40-
<link rel="manifest" href="./manifest.json">
40+
<link rel="manifest" href="./manifest.json" crossorigin="use-credentials">
4141
<link rel="apple-touch-icon" href="./static-{{COMMIT}}/out/vs/server/src/media/code-server.png" />
4242
<link data-name="vs/workbench/workbench.web.api" rel="stylesheet" href="./static-{{COMMIT}}/out/vs/workbench/workbench.web.api.css">
4343
<meta name="apple-mobile-web-app-capable" content="yes">

src/browser/workbench.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
<!-- Workbench Icon/Manifest/CSS -->
3939
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
40-
<link rel="manifest" href="./manifest.json">
40+
<link rel="manifest" href="./manifest.json" crossorigin="use-credentials">
4141
</head>
4242

4343
<body aria-label="">

0 commit comments

Comments
 (0)