2021-11-25 16:19:13 -03:00
|
|
|
<?php
|
|
|
|
|
2021-11-27 12:51:28 -03:00
|
|
|
use App\Http\Controllers\LibrilladoraController;
|
2021-11-25 16:19:13 -03:00
|
|
|
use Illuminate\Support\Facades\Route;
|
2021-11-27 12:51:28 -03:00
|
|
|
use App\Http\Controllers\FileUploadController;
|
2021-11-25 16:19:13 -03:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Web Routes
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
|
|
| routes are loaded by the RouteServiceProvider within a group which
|
|
|
|
| contains the "web" middleware group. Now create something great!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
Route::get('/', function () {
|
|
|
|
return view('welcome');
|
|
|
|
});
|
2021-11-27 11:15:23 -03:00
|
|
|
|
2021-11-28 20:13:58 -03:00
|
|
|
Route::get('/processed/{fileName}/{size}', LibrilladoraController::class)->name('process');
|
2021-11-27 11:15:23 -03:00
|
|
|
|
2021-11-27 12:51:28 -03:00
|
|
|
Route::post('file-upload', [FileUploadController::class, 'fileUploadPost'])->name('file.upload.post');
|