PteroTheme/routes/server.php

16 lines
476 B
PHP
Raw Normal View History

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