aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/js/activities.js12
-rw-r--r--public/js/app.js8
-rw-r--r--routes/api.php3
-rw-r--r--routes/web.php1
4 files changed, 12 insertions, 12 deletions
diff --git a/public/js/activities.js b/public/js/activities.js
index e73869f..1a713ab 100644
--- a/public/js/activities.js
+++ b/public/js/activities.js
@@ -19440,12 +19440,12 @@ function setCallDesc() {
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
-__webpack_require__(/*! /srv/http/laravel.komp.com/resources/js/activities.js */"./resources/js/activities.js");
-__webpack_require__(/*! /srv/http/laravel.komp.com/resources/js/app.js */"./resources/js/app.js");
-__webpack_require__(/*! /srv/http/laravel.komp.com/resources/js/bootstrap.js */"./resources/js/bootstrap.js");
-__webpack_require__(/*! /srv/http/laravel.komp.com/resources/js/reservations.js */"./resources/js/reservations.js");
-__webpack_require__(/*! /srv/http/laravel.komp.com/resources/js/reserve.js */"./resources/js/reserve.js");
-module.exports = __webpack_require__(/*! /srv/http/laravel.komp.com/resources/css/app.css */"./resources/css/app.css");
+__webpack_require__(/*! /var/www/laptop.com/mylaravelapp/resources/js/activities.js */"./resources/js/activities.js");
+__webpack_require__(/*! /var/www/laptop.com/mylaravelapp/resources/js/app.js */"./resources/js/app.js");
+__webpack_require__(/*! /var/www/laptop.com/mylaravelapp/resources/js/bootstrap.js */"./resources/js/bootstrap.js");
+__webpack_require__(/*! /var/www/laptop.com/mylaravelapp/resources/js/reservations.js */"./resources/js/reservations.js");
+__webpack_require__(/*! /var/www/laptop.com/mylaravelapp/resources/js/reserve.js */"./resources/js/reserve.js");
+module.exports = __webpack_require__(/*! /var/www/laptop.com/mylaravelapp/resources/css/app.css */"./resources/css/app.css");
/***/ })
diff --git a/public/js/app.js b/public/js/app.js
index b59d366..1857d13 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -19403,10 +19403,10 @@ function setCallDesc() {
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
-__webpack_require__(/*! /srv/http/laravel.komp.com/resources/js/app.js */"./resources/js/app.js");
-__webpack_require__(/*! /srv/http/laravel.komp.com/resources/js/bootstrap.js */"./resources/js/bootstrap.js");
-__webpack_require__(/*! /srv/http/laravel.komp.com/resources/js/reserve.js */"./resources/js/reserve.js");
-module.exports = __webpack_require__(/*! /srv/http/laravel.komp.com/resources/css/app.css */"./resources/css/app.css");
+__webpack_require__(/*! /var/www/laptop.com/mylaravelapp/resources/js/app.js */"./resources/js/app.js");
+__webpack_require__(/*! /var/www/laptop.com/mylaravelapp/resources/js/bootstrap.js */"./resources/js/bootstrap.js");
+__webpack_require__(/*! /var/www/laptop.com/mylaravelapp/resources/js/reserve.js */"./resources/js/reserve.js");
+module.exports = __webpack_require__(/*! /var/www/laptop.com/mylaravelapp/resources/css/app.css */"./resources/css/app.css");
/***/ })
diff --git a/routes/api.php b/routes/api.php
index 4c028b0..d85ea7a 100644
--- a/routes/api.php
+++ b/routes/api.php
@@ -3,7 +3,7 @@
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
-use App\Http\Controller\ReservationsController;
+use App\Http\Controllers\ReservationsController;
/*
|--------------------------------------------------------------------------
@@ -20,3 +20,4 @@ Route::middleware('auth:api')->get('/user', function (Request $request) {
return $request->user();
});
+Route::post('activities', [ReservationsController::class, 'index']);
diff --git a/routes/web.php b/routes/web.php
index 4517722..bba3ab5 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -30,7 +30,6 @@ Route::get('/news/edit/{id}', [NewsController::class, 'edit'])->name('newsEdit')
Route::post('/news/edit/{id}', [NewsController::class, 'update'])->name('newsEditForm')->middleware(['auth']);
Route::get('/news/delete/{id}', [NewsController::class, 'destroy'])->name('newsDelete')->middleware(['auth']);
-Route::post('/api/activities', [ReservationsController::class, 'index']);
Route::get('/gallery', [GalleryController::class, 'index'])->name('gallery');
Route::get('/gallery/add', [GalleryController::class, 'create'])->name('galleryAdd')->middleware(['auth']);