HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/rentman2019.komma.pro/app/Komma/Shop/Catalog/catalogRoutes.php
<?php

use App\Komma\Shop\Catalog\Kms\CatalogService;

Route::group(['middleware' => ['auth']], function () {
    Route::get('kms/catalog/index', CatalogService::class.'@index'); //Note that this route hits a service. This is expected as it is hit from an artisan command and a future "index" button in the kms.
});

Route::get('/search', CatalogService::class.'@search')->name('catalog.search');

Route::get('/kms/catalog/reindexSearch', function () {
    //Saves all models so that they will be re-indexed in the search databases again.
    CatalogService::reIndexSearch();
    echo 'Done!';
});