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

Commitb8e32a3

Browse files
authored
fix: usereplace when redirecting from /health (#12039)
`pushHistory` will break the back button, so we need to use `replaceHistory` instead
1 parent3f04e98 commitb8e32a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎site/src/AppRouter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ export const AppRouter: FC = () => {
387387
</Route>
388388

389389
<Routepath="/health"element={<HealthLayout/>}>
390-
<Routeindexelement={<Navigateto="access-url"/>}/>
390+
<Routeindexelement={<Navigateto="access-url"replace/>}/>
391391
<Routepath="access-url"element={<AccessURLPage/>}/>
392392
<Routepath="database"element={<DatabasePage/>}/>
393393
<Routepath="derp"element={<DERPPage/>}/>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp