Pterodactyl-Panel/routes/daemon.php

15 lines
653 B
PHP
Raw Normal View History

2016-01-21 04:39:02 +01:00
<?php
/**
* Pterodactyl - Panel
2017-01-24 23:57:08 +01:00
* Copyright (c) 2015 - 2017 Dane Everitt <dane@daneeveritt.com>.
2016-01-21 04:39:02 +01:00
*
2017-09-26 04:43:01 +02:00
* This software is licensed under the terms of the MIT license.
* https://opensource.org/licenses/MIT
2016-01-21 04:39:02 +01:00
*/
2017-04-02 03:01:10 +02:00
Route::get('/packs/pull/{uuid}', 'PackController@pull')->name('daemon.pack.pull');
Route::get('/packs/pull/{uuid}/hash', 'PackController@hash')->name('daemon.pack.hash');
Route::get('/configure/{token}', 'ActionController@configuration')->name('daemon.configuration');
Route::post('/download', 'ActionController@authenticateDownload')->name('daemon.download');
Route::post('/install', 'ActionController@markInstall')->name('daemon.install');