Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix redirect loop on home page #401

Merged
merged 1 commit into from Aug 31, 2022
Merged

Conversation

florimondmanca
Copy link
Collaborator

@florimondmanca florimondmanca commented Aug 31, 2022

Corrige un bug introduit par #398

PUBLIC_PAGES était aussi utilisé par le authGuard pour ne pas vérifier la présence de $user sur certaines pages.

En le transformant en STATIC_PAGES (qui exclut du SSR) et en en retiarnt /, la page d'accueil non-connectée souffre maintenant d'une 500 Redirect Loop.

Pour l'instant j'utilise donc une nouvelle variable au nom peu élégant mais évocateur.

Je vais déployer sur staging pour vérifier, puis merger et déployer pour corriger le bug (hotfix).

Ce bug a pu apparaître car notre CI n'échoue toujours pas si les tests E2E sont HS. Or ils l'étaient sur #398 et je ne l'ai pas vu. Par ailleurs le comportement qui était sensé être corrigé par #392 en passant à Node v16 sur la CI semble être revenu...

@florimondmanca florimondmanca merged commit 96c138c into master Aug 31, 2022
@florimondmanca florimondmanca deleted the fm/fix-redirect-loop branch August 31, 2022 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant