1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-25 10:32:31 +01:00
Pterodactyl-Panel/routes/base.php

11 lines
354 B
PHP
Raw Normal View History

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