Add skip-auth-preflight flag to allow OPTIONS requests through proxy (#7284)

This commit is contained in:
helgehatt
2025-04-14 21:27:02 +02:00
committed by GitHub
parent 9045919d2b
commit bbf2e24648
6 changed files with 34 additions and 1 deletions

View File

@@ -108,6 +108,8 @@ describe("parser", () => {
["--abs-proxy-base-path", "/codeserver/app1"],
"--skip-auth-preflight",
["--session-socket", "/tmp/override-code-server-ipc-socket"],
["--host", "0.0.0.0"],
@@ -146,6 +148,7 @@ describe("parser", () => {
"bind-addr": "192.169.0.1:8080",
"session-socket": "/tmp/override-code-server-ipc-socket",
"abs-proxy-base-path": "/codeserver/app1",
"skip-auth-preflight": true,
})
})