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 coder#1212.
1 parent 015a99e commit e5fc63f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/browser/workbench-build.html

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)