fix: Add Livewire config and custom 404 page for subdirectory support
- Add config/livewire.php with app_url and asset_url settings - Add custom 404 error page with consistent design - Add error translations for all 8 languages For subdirectory deployment: 1. Set APP_URL to include subdirectory (e.g., https://example.com/kb) 2. Set ASSET_URL if using CDN 3. Clear config cache after deployment
This commit is contained in:
@@ -115,6 +115,14 @@
|
||||
'already_registered' => 'Bereits registriert?',
|
||||
],
|
||||
|
||||
// Errors
|
||||
'errors' => [
|
||||
'404_title' => 'Seite nicht gefunden',
|
||||
'page_not_found' => 'Seite nicht gefunden',
|
||||
'page_not_found_description' => 'Die gesuchte Seite konnte nicht gefunden werden.',
|
||||
'back_to_home' => 'Zurück zur Startseite',
|
||||
],
|
||||
|
||||
// Profile
|
||||
'profile' => [
|
||||
'title' => 'Profil',
|
||||
|
||||
@@ -115,6 +115,14 @@
|
||||
'already_registered' => 'Already registered?',
|
||||
],
|
||||
|
||||
// Errors
|
||||
'errors' => [
|
||||
'404_title' => 'Page Not Found',
|
||||
'page_not_found' => 'Page Not Found',
|
||||
'page_not_found_description' => 'The page you are looking for could not be found.',
|
||||
'back_to_home' => 'Back to Home',
|
||||
],
|
||||
|
||||
// Profile
|
||||
'profile' => [
|
||||
'title' => 'Profile',
|
||||
|
||||
@@ -115,6 +115,14 @@
|
||||
'already_registered' => '¿Ya está registrado?',
|
||||
],
|
||||
|
||||
// Errors
|
||||
'errors' => [
|
||||
'404_title' => 'Página no encontrada',
|
||||
'page_not_found' => 'Página no encontrada',
|
||||
'page_not_found_description' => 'No se pudo encontrar la página que está buscando.',
|
||||
'back_to_home' => 'Volver al inicio',
|
||||
],
|
||||
|
||||
// Profile
|
||||
'profile' => [
|
||||
'title' => 'Perfil',
|
||||
|
||||
@@ -115,6 +115,14 @@
|
||||
'already_registered' => 'Déjà inscrit ?',
|
||||
],
|
||||
|
||||
// Errors
|
||||
'errors' => [
|
||||
'404_title' => 'Page non trouvée',
|
||||
'page_not_found' => 'Page non trouvée',
|
||||
'page_not_found_description' => 'La page que vous recherchez est introuvable.',
|
||||
'back_to_home' => 'Retour à l\'accueil',
|
||||
],
|
||||
|
||||
// Profile
|
||||
'profile' => [
|
||||
'title' => 'Profil',
|
||||
|
||||
@@ -115,6 +115,14 @@
|
||||
'already_registered' => '既にアカウントをお持ちですか?',
|
||||
],
|
||||
|
||||
// Errors
|
||||
'errors' => [
|
||||
'404_title' => 'ページが見つかりません',
|
||||
'page_not_found' => 'ページが見つかりません',
|
||||
'page_not_found_description' => 'お探しのページは見つかりませんでした。',
|
||||
'back_to_home' => 'ホームに戻る',
|
||||
],
|
||||
|
||||
// Profile
|
||||
'profile' => [
|
||||
'title' => 'プロフィール',
|
||||
|
||||
@@ -115,6 +115,14 @@
|
||||
'already_registered' => '이미 계정이 있으신가요?',
|
||||
],
|
||||
|
||||
// Errors
|
||||
'errors' => [
|
||||
'404_title' => '페이지를 찾을 수 없습니다',
|
||||
'page_not_found' => '페이지를 찾을 수 없습니다',
|
||||
'page_not_found_description' => '찾고 계신 페이지를 찾을 수 없습니다.',
|
||||
'back_to_home' => '홈으로 돌아가기',
|
||||
],
|
||||
|
||||
// Profile
|
||||
'profile' => [
|
||||
'title' => '프로필',
|
||||
|
||||
@@ -115,6 +115,14 @@
|
||||
'already_registered' => '已有账号?',
|
||||
],
|
||||
|
||||
// Errors
|
||||
'errors' => [
|
||||
'404_title' => '页面未找到',
|
||||
'page_not_found' => '页面未找到',
|
||||
'page_not_found_description' => '您要查找的页面不存在。',
|
||||
'back_to_home' => '返回首页',
|
||||
],
|
||||
|
||||
// Profile
|
||||
'profile' => [
|
||||
'title' => '个人资料',
|
||||
|
||||
@@ -115,6 +115,14 @@
|
||||
'already_registered' => '已有帳號?',
|
||||
],
|
||||
|
||||
// Errors
|
||||
'errors' => [
|
||||
'404_title' => '頁面未找到',
|
||||
'page_not_found' => '頁面未找到',
|
||||
'page_not_found_description' => '您要查找的頁面不存在。',
|
||||
'back_to_home' => '返回首頁',
|
||||
],
|
||||
|
||||
// Profile
|
||||
'profile' => [
|
||||
'title' => '個人資料',
|
||||
|
||||
Reference in New Issue
Block a user