fix(routes): implementing universal routes to resolve 404 on central domain
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 46s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped

This commit is contained in:
2026-01-15 13:36:59 +08:00
parent a6ed2720d5
commit 79e5916d19
4 changed files with 11 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ use App\Http\Controllers\Landlord\TenantController;
|
*/
Route::prefix('landlord')->name('landlord.')->middleware(['web', 'auth'])->group(function () {
Route::prefix('landlord')->name('landlord.')->middleware(['web', 'auth', \Stancl\Tenancy\Middleware\PreventAccessFromTenantDomains::class])->group(function () {
// 房東儀表板
Route::get('/', [DashboardController::class, 'index'])->name('dashboard');