Remove CLI from electron app (#17803)
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
This commit is contained in:
parent
9c1c061b84
commit
ee23043d64
38 changed files with 284 additions and 521 deletions
|
|
@ -521,6 +521,7 @@ export const Terminal = (props: TerminalProps) => {
|
|||
next.searchParams.set("cursor", String(seek))
|
||||
next.protocol = next.protocol === "https:" ? "wss:" : "ws:"
|
||||
if (!sameOrigin && password) {
|
||||
next.searchParams.set("auth_token", btoa(`${username}:${password}`))
|
||||
// For same-origin requests, let the browser reuse the page's existing auth.
|
||||
next.username = username
|
||||
next.password = password
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue