diff --git a/routes/inertia.php b/routes/inertia.php index 00d13cfcf..5d81f851f 100644 --- a/routes/inertia.php +++ b/routes/inertia.php @@ -14,7 +14,7 @@ use Laravel\Jetstream\Http\Controllers\TeamInvitationController; use Laravel\Jetstream\Jetstream; -Route::group(['middleware' => config('jetstream.middleware', ['web'])], function () { +Route::group(['middleware' => config('jetstream.middleware', ['web']), 'prefix' => config('jetstream.prefix', '')], function () { if (Jetstream::hasTermsAndPrivacyPolicyFeature()) { Route::get('/terms-of-service', [TermsOfServiceController::class, 'show'])->name('terms.show'); Route::get('/privacy-policy', [PrivacyPolicyController::class, 'show'])->name('policy.show');