Skip to content

Commit

Permalink
Render 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
vhande committed Apr 9, 2024
1 parent d120f49 commit 82fc78e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/views/errors/404.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<html>
<body>
@inertia
</body>
</html>
5 changes: 5 additions & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use App\Router\TranslatedRoute;
use App\Http\Controllers\HomeController;
use App\Http\Controllers\SupportController;
use Inertia\Inertia;

/*
|--------------------------------------------------------------------------
Expand Down Expand Up @@ -95,4 +96,8 @@

Route::get('/integrations/{id}/widget', [IntegrationController::class, 'showWidget']);
});

Route::fallback(function () {
return Inertia::render('Error');
});
});

0 comments on commit 82fc78e

Please sign in to comment.