Add ping endpoint, update-refresh prompt, and dark-mode polish
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Controllers\InstallerController;
|
||||
use App\Http\Controllers\PingController;
|
||||
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
@@ -29,6 +30,8 @@ Route::get('/reset-password', function () {
|
||||
return view('app');
|
||||
})->name('password.reset');
|
||||
|
||||
Route::get('/ping', PingController::class);
|
||||
|
||||
Route::get('/{any}', function () {
|
||||
if (!file_exists(base_path('.env'))) {
|
||||
return redirect('/install');
|
||||
|
||||
Reference in New Issue
Block a user