mirror of
https://github.com/bdnugget/speedtest-tracker.git
synced 2026-11-07 08:37:27 +00:00
28 lines
716 B
PHP
28 lines
716 B
PHP
<?php
|
|
|
|
use App\Http\Controllers\HomeController;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Web Routes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
| routes are loaded by the RouteServiceProvider within a group which
|
|
| contains the "web" middleware group. Now create something great!
|
|
|
|
|
*/
|
|
|
|
Route::get('/', HomeController::class)
|
|
->middleware('x-frame-allow')
|
|
->name('home');
|
|
|
|
Route::get('/login', function () {
|
|
return redirect('/admin/login');
|
|
})->name('login');
|
|
|
|
if (app()->isLocal()) {
|
|
require __DIR__.'/test.php';
|
|
}
|