2016-01-02 00:27:44 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Http\Routes;
|
|
|
|
|
|
|
|
use Illuminate\Routing\Router;
|
|
|
|
use Request;
|
|
|
|
|
|
|
|
class RemoteRoutes {
|
|
|
|
|
|
|
|
public function map(Router $router) {
|
|
|
|
$router->group(['prefix' => 'remote'], function () use ($router) {
|
2016-01-04 21:09:39 +00:00
|
|
|
// Handles Remote Download Authentication Requests
|
|
|
|
$router->post('download', [
|
|
|
|
'as' => 'remote.download',
|
|
|
|
'uses' => 'Remote\RemoteController@postDownload'
|
|
|
|
]);
|
2016-01-02 00:27:44 +00:00
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|