mirror of
https://github.com/coder/code-server.git
synced 2026-04-12 18:28:17 -05:00
add trusted-origins cli argument (#6319)
This commit is contained in:
@@ -70,6 +70,7 @@ describe("http", () => {
|
||||
origin: test.origin,
|
||||
[key]: value,
|
||||
},
|
||||
args: {},
|
||||
})
|
||||
if (typeof test.expected === "string") {
|
||||
expect(() => http.authenticateOrigin(req)).toThrow(test.expected)
|
||||
|
||||
Reference in New Issue
Block a user