PhyrePanel/web/routes/web.php
Bozhidar Slaveykov 49aeea8797 update
2024-04-03 20:00:34 +03:00

46 lines
1.1 KiB
PHP

<?php
use Illuminate\Support\Facades\Route;
use AcmePhp\Core\Protocol\ExternalAccount;
use AcmePhp\Core\Http\Base64SafeEncoder;
use AcmePhp\Core\Http\SecureHttpClientFactory;
use AcmePhp\Core\Http\ServerErrorHandler;
use AcmePhp\Ssl\KeyPair;
use AcmePhp\Ssl\PrivateKey;
use AcmePhp\Ssl\PublicKey;
use AcmePhp\Ssl\Parser\KeyParser;
use AcmePhp\Ssl\Signer\DataSigner;
use GuzzleHttp\Client as GuzzleHttpClient;
use AcmePhp\Ssl\Generator\KeyPairGenerator;
use AcmePhp\Core\AcmeClient;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider and all of them will
| be assigned to the "web" middleware group. Make something great!
|
*/
Route::get('/', function () {
if (file_exists(storage_path('installed'))) {
return redirect('/admin');
}
return view('welcome');
});
Route::get('dev', function () {
set_time_limit(0);
});