2017-04-02 01:01:10 +00:00
|
|
|
<?php
|
2018-06-21 06:05:35 +00:00
|
|
|
|
2020-12-28 17:42:34 +00:00
|
|
|
use Illuminate\Support\Facades\Route;
|
2020-12-06 21:56:14 +00:00
|
|
|
use Pterodactyl\Http\Middleware\RequireTwoFactorAuthentication;
|
|
|
|
|
2019-03-24 00:41:43 +00:00
|
|
|
Route::get('/', 'IndexController@index')->name('index')->fallback();
|
2020-12-06 21:56:14 +00:00
|
|
|
Route::get('/account', 'IndexController@index')
|
|
|
|
->withoutMiddleware(RequireTwoFactorAuthentication::class)
|
|
|
|
->name('account');
|
2017-05-05 20:27:36 +00:00
|
|
|
|
2019-11-16 20:46:19 +00:00
|
|
|
Route::get('/locales/{locale}/{namespace}.json', 'LocaleController')
|
2020-12-06 21:56:14 +00:00
|
|
|
->withoutMiddleware(RequireTwoFactorAuthentication::class)
|
2019-11-16 20:46:19 +00:00
|
|
|
->where('namespace', '.*');
|
|
|
|
|
2019-06-10 02:26:20 +00:00
|
|
|
Route::get('/{react}', 'IndexController@index')
|
|
|
|
->where('react', '^(?!(\/)?(api|auth|admin|daemon)).+');
|