You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// For locale detection, we don't know the user's locale, so there's not much we can do except send down the app shell, which will do the rest and fetch from `.perseus/page/...`
153
-
RouteVerdict::LocaleDetection(_) => {
155
+
RouteVerdict::LocaleDetection(path) => {
154
156
// We use a `302 Found` status code to indicate a redirect
155
157
// We 'should' generate a `Location` field for the redirect, but it's not RFC-mandated, so we can use the app shell
/// Intepolates a fallback for locale redirection pages such that, even if JavaScript is disabled, the user will still be redirected to the default locale.
104
+
/// From there, Perseus' inbuilt progressive enhancement can occur, but without this a user directed to an unlocalized page with JS disabled would see a
105
+
/// blank screen, which is terrible UX. Note that this also includes a fallback for if JS is enable dbut Wasm is disabled.
0 commit comments