misc_pterodactyl-panel/routes/base.php

11 lines
354 B
PHP
Raw Normal View History

2017-04-02 01:01:10 +00:00
<?php
Route::get('/', 'IndexController@index')->name('index')->fallback();
2018-07-05 02:38:23 +00:00
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)).+');