Page 404 : adresse inconnue (nginx + service worker) et route inconnue dans l'app

- public/404.html servie par nginx (error_page 404) avec un vrai code 404.
- Service worker : le fallback vers l'app ne s'applique plus qu'à « / »,
  les autres adresses reçoivent la 404 du serveur.
- #/route-inconnue affiche un écran 404 (18 langues) au lieu de l'accueil.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
Claude committed 2026-10-09 13:59:28 +00:00
1 parent 3cfc6fe1b6
commit c246b16e7e
23 files changed
+122 -5

No files matched your search

+3
View File
@@ -187,6 +187,9 @@ const dict: Translations = {
'legal.notice': "Thông tin pháp lý",
'legal.credits': "Ghi công",
'legal.tmdb': "Sản phẩm này sử dụng API của TMDB nhưng không được TMDB xác nhận hay chứng nhận.",
'notFound.title': "Cảnh này đã bị cắt khi dựng phim",
'notFound.text': "Trang bạn tìm không tồn tại hoặc đã được chuyển đi.",
'notFound.back': "Về trang chủ",
'auth.newPasswordTitle': 'Chọn mật khẩu mới của bạn.',
'auth.newPassword': 'Mật khẩu mới',
'auth.err.credentials': 'Email hoặc mật khẩu không đúng.',