21 lines
		
	
	
		
			475 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			475 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?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) {
 | 
						|
            // Handles Remote Download Authentication Requests
 | 
						|
            $router->post('download', [
 | 
						|
                'as' => 'remote.download',
 | 
						|
                'uses' => 'Remote\RemoteController@postDownload'
 | 
						|
            ]);
 | 
						|
        });
 | 
						|
    }
 | 
						|
 | 
						|
}
 |