Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit e1e2029

Browse files
sourcegraph-release-botCraig Furman
andauthored
[Backport 5.5.x] fix(appliance): reliably redirect to site-admin post-install (#64220)
Backport e54407d from #64216 Co-authored-by: Craig Furman <[email protected]>
1 parent 17871a4 commit e1e2029

File tree

1 file changed

+2
-2
lines changed
  • internal/appliance/frontend/maintenance/src

1 file changed

+2
-2
lines changed

internal/appliance/frontend/maintenance/src/Frame.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const fetchStatus = async (lastContext: OutletContext): Promise<OutletContext> =
3838
onlineDate: lastContext.onlineDate ?? Date.now(),
3939
})
4040
} else {
41-
resolve({ online: false, onlineDate: undefined })
41+
resolve({ online: false, onlineDate: undefined, stage: 'refresh' })
4242
}
4343
return
4444
}
@@ -53,7 +53,7 @@ const fetchStatus = async (lastContext: OutletContext): Promise<OutletContext> =
5353
})
5454
})
5555
.catch(() => {
56-
resolve({ online: false, onlineDate: undefined })
56+
resolve({ online: false, onlineDate: undefined, stage: 'refresh' })
5757
})
5858
})
5959

0 commit comments

Comments
 (0)