summaryrefslogtreecommitdiff
path: root/routes
diff options
context:
space:
mode:
authorgrothedev <grothedev@gmail.com>2024-12-03 03:34:05 -0600
committergrothedev <grothedev@gmail.com>2024-12-03 03:34:05 -0600
commit3ce6a1423db6ff78f912ccec50850512b1eb8121 (patch)
treee78d09e0bc57365f72bb9337fb71528a78a70e99 /routes
parentd9f11923c23c755f4ec0bd51bce540718a1126b5 (diff)
continuing this. adding each route from the express app and implementing backend functionality.
Diffstat (limited to 'routes')
-rwxr-xr-xroutes/web.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/routes/web.php b/routes/web.php
index 096daa7..cdd8e4f 100755
--- a/routes/web.php
+++ b/routes/web.php
@@ -1,11 +1,14 @@
<?php
use Illuminate\Support\Facades\Route;
+use App\Http\Controllers\SiteController;
Route::get('/', function () {
return view('home');
});
-Route::get('/env', 'SiteController@env');
+Route::get('/env', [SiteController::class, 'env']);
-Route::get('/dq', 'SiteController@duneQuote'); \ No newline at end of file
+Route::get('/dq', [SiteController::class, 'duneQuote']);
+
+Route::post('/f', [SiteController::class, 'fileUpload']); //TODO later use file resource or FPR service \ No newline at end of file