Pterodactyl-Panel/routes/base.php
2019-12-15 18:11:56 -08:00

11 lines
354 B
PHP

<?php
Route::get('/', 'IndexController@index')->name('index')->fallback();
Route::get('/account', 'IndexController@index')->name('account');
Route::get('/locales/{locale}/{namespace}.json', 'LocaleController')
->where('namespace', '.*');
Route::get('/{react}', 'IndexController@index')
->where('react', '^(?!(\/)?(api|auth|admin|daemon)).+');