This commit is contained in:
2025-09-18 15:45:17 +02:00
commit 0702d445b2
56 changed files with 10151 additions and 0 deletions

15
routes/console.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
/*
|--------------------------------------------------------------------------
| Console Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of your Closure based console
| commands. Each Closure is bound to a command instance allowing a
| simple approach to interacting with each command's IO methods.
|
*/

18
routes/web.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
use App\Http\Controllers\ApiController;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider and all of them will
| be assigned to the "web" middleware group. Make something great!
|
*/
Route::get('/download/{folderhash}/{timehash}', [ApiController::class, 'download']);
Route::get('/getSize/{folderhash}/{timehash}', [ApiController::class, 'getFileSize']);