web.php 777 B

123456789101112131415161718192021222324
  1. <?php
  2. use App\Events\CheckInAdded;
  3. use Illuminate\Support\Facades\Route;
  4. use App\Http\Controllers\ApplicationController;
  5. /*
  6. |--------------------------------------------------------------------------
  7. | Web Routes
  8. |--------------------------------------------------------------------------
  9. |
  10. | Here is where you can register web routes for your application. These
  11. | routes are loaded by the RouteServiceProvider within a group which
  12. | contains the "web" middleware group. Now create something great!
  13. |
  14. */
  15. Route::get('phpmyinfo', function () {
  16. phpinfo();
  17. })->name('phpmyinfo');
  18. Route::get('/login', [ApplicationController::class, 'index'])->name('login');
  19. Route::get('/{any}', [ApplicationController::class, 'index'])->where('any', '.*');//->middleware('auth:sanctum');