mirror of
https://github.com/devfake/flox.git
synced 2024-11-15 22:52:32 +01:00
ab56720200
* Use user credentials for http basic and change auth for import/export api to use http basic auth * refactor
10 lines
329 B
PHP
10 lines
329 B
PHP
<?php
|
|
|
|
Route::group(['middleware' => 'auth.basic'], function() {
|
|
Route::patch('/update-files', 'FileParserController@receive');
|
|
Route::post('/import', 'ExportImportController@import');
|
|
Route::get('/export', 'ExportImportController@export');
|
|
});
|
|
|
|
Route::get('/last-fetched', 'FileParserController@lastFetched');
|