mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-22 16:23:45 +02:00
Better handling of file download requests
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Pterodactyl - Panel
|
||||
* Copyright (c) 2015 - 2017 Dane Everitt <dane@daneeveritt.com>.
|
||||
*
|
||||
* This software is licensed under the terms of the MIT license.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
Route::get('/authenticate/{token}', 'ValidateKeyController@index')->name('api.remote.authenticate');
|
||||
Route::post('/download-file', 'FileDownloadController@index')->name('api.remote.download_file');
|
||||
|
||||
Route::group(['prefix' => '/eggs'], function () {
|
||||
Route::get('/', 'EggRetrievalController@index')->name('api.remote.eggs');
|
||||
|
||||
Reference in New Issue
Block a user