Basic support for installation process

This commit is contained in:
Dane Everitt
2020-01-18 15:26:15 -08:00
parent f609271c35
commit 3b11ba9fca
6 changed files with 76 additions and 11 deletions

View File

@@ -5,12 +5,9 @@ use Illuminate\Support\Facades\Route;
Route::get('/authenticate/{token}', 'ValidateKeyController@index');
Route::post('/download-file', 'FileDownloadController@index');
Route::group(['prefix' => '/scripts'], function () {
Route::get('/{uuid}', 'EggInstallController@index')->name('api.remote.scripts');
});
// Routes for the Wings daemon.
Route::post('/sftp/auth', 'SftpAuthenticationController');
Route::group(['prefix' => '/servers/{uuid}'], function () {
Route::get('/', 'Servers\ServerDetailsController');
Route::get('/install', 'Servers\ServerInstallController');
});