Add use-credentials
to fetch manifest with cookies
I run code-server behind an authenticating Kubernetes Ingress which sets a cookie after a successful login is performed. Since this cookie is not set when fetching the manifest, the fetch fails and gets redirected to the authentication page, breaking code-server completely. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
This commit is contained in:
parent
28c93612e6
commit
a72e8a698d
@ -61,6 +61,7 @@ module.exports = (options = {}) => merge(
|
|||||||
short_name: "Coder",
|
short_name: "Coder",
|
||||||
description: "Run VS Code on a remote server",
|
description: "Run VS Code on a remote server",
|
||||||
background_color: "#e5e5e5",
|
background_color: "#e5e5e5",
|
||||||
|
crossorigin: 'use-credentials',
|
||||||
icons: [{
|
icons: [{
|
||||||
src: path.join(root, "packages/web/assets/logo.png"),
|
src: path.join(root, "packages/web/assets/logo.png"),
|
||||||
sizes: [96, 128, 192, 256, 384],
|
sizes: [96, 128, 192, 256, 384],
|
||||||
|
Reference in New Issue
Block a user