Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7e0ea10

Browse files
committed
fixup! chore: move app proxying code to workspaceapps pkg
1 parent921a7c5 commit7e0ea10

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

‎site/src/xServices/auth/authXService.ts‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,8 @@ const signIn = async (
141141
}
142142

143143
constsignOut=async()=>{
144-
// Get app hostname so we can see if we need to log out of app URLs.
145-
// We need to load this before we log out of the API as this is an
146-
// authenticated endpoint.
147-
constappHost=awaitAPI.getApplicationsHost()
148144
const[authMethods]=awaitPromise.all([
149-
API.getAuthMethods(),//Antecipate and load the auth methods
145+
API.getAuthMethods(),//Anticipate and load the auth methods
150146
API.logout(),
151147
])
152148

@@ -372,7 +368,7 @@ export const authMachine =
372368
updateProfileError:(_)=>undefined,
373369
}),
374370
redirect:(_,{ data})=>{
375-
window.location.href=location.origin
371+
window.location.href=location.origin
376372
},
377373
},
378374
guards:{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp