mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-22 17:12:30 +01:00
11 lines
354 B
PHP
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)).+');
|