mirror of
https://github.com/coder/code-server.git
synced 2025-07-25 10:53:24 +08: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