2017-04-02 03:01:10 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Pterodactyl - Panel
|
|
|
|
* Copyright (c) 2015 - 2017 Dane Everitt <dane@daneeveritt.com>.
|
|
|
|
*
|
2017-09-26 04:43:01 +02:00
|
|
|
* This software is licensed under the terms of the MIT license.
|
|
|
|
* https://opensource.org/licenses/MIT
|
2017-04-02 03:01:10 +02:00
|
|
|
*/
|
2018-07-21 08:45:07 +02:00
|
|
|
Route::get('/credentials', 'CredentialsController@index')->name('server.credentials');
|
2018-08-07 08:14:13 +02:00
|
|
|
|
|
|
|
Route::group(['prefix' => '/files'], function () {
|
|
|
|
Route::get('/{directory?}', 'FileController@index')
|
|
|
|
->name('server.files')
|
|
|
|
->where('directory', '.*');
|
|
|
|
});
|
2018-10-14 22:17:37 +02:00
|
|
|
|
|
|
|
Route::get('/')->name('server.index');
|
|
|
|
Route::get('/console')->name('server.console');
|