2016-09-05 20:21:36 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Pterodactyl - Panel
|
2017-01-24 22:57:08 +00:00
|
|
|
* Copyright (c) 2015 - 2017 Dane Everitt <dane@daneeveritt.com>.
|
2016-09-05 20:21:36 +00:00
|
|
|
*
|
2017-09-26 02:43:01 +00:00
|
|
|
* This software is licensed under the terms of the MIT license.
|
|
|
|
* https://opensource.org/licenses/MIT
|
2016-09-05 20:21:36 +00:00
|
|
|
*/
|
2017-10-07 22:21:41 +00:00
|
|
|
//Route::get('/', 'CoreController@index')->name('api.user');
|
|
|
|
//
|
|
|
|
///*
|
|
|
|
//|--------------------------------------------------------------------------
|
|
|
|
//| Server Controller Routes
|
|
|
|
//|--------------------------------------------------------------------------
|
|
|
|
//|
|
|
|
|
//| Endpoint: /api/user/server/{server}
|
|
|
|
//|
|
|
|
|
//*/
|
|
|
|
//Route::group([
|
|
|
|
// 'prefix' => '/server/{server}',
|
|
|
|
// 'middleware' => 'server',
|
|
|
|
//], function () {
|
|
|
|
// Route::get('/', 'ServerController@index')->name('api.user.server');
|
|
|
|
//
|
|
|
|
// Route::post('/power', 'ServerController@power')->name('api.user.server.power');
|
|
|
|
// Route::post('/command', 'ServerController@command')->name('api.user.server.command');
|
|
|
|
//});
|