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/reiskick.komma.nl/app/Providers/RouteServiceProvider.php
<?php

namespace App\Providers;

use App\Articles\ArticleRoutes;
use App\Countries\CountryRoutes;
use App\Hotels\HotelRoutes;
use App\InstagramHighlights\InstagramHighlightRoutes;
use App\Journeys\JourneyRoutes;
use App\MustDos\MustDoRoutes;
use App\Overnights\OvernightRoutes;
use App\Pages\PageRoutes;
use App\Posts\PostRoutes;
use App\Sidebars\SidebarRoutes;
use App\Sitemap\SitemapRoutes;
use App\ToDos\ToDoRoutes;
use App\WebsiteConfig\WebsiteConfigRoutes;
use Illuminate\Support\Facades\Route;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;


class RouteServiceProvider extends ServiceProvider
{
    /**
     * Define the routes for the application.
     *
     * @return void
     */
    public function map()
    {
        $this->mapApiRoutes();
        $this->mapWebRoutes();
    }

    /**
     * Define the "web" routes for the application.
     *
     * These routes all receive session state, CSRF protection, etc.
     *
     * @return void
     */
    protected function mapWebRoutes()
    {
        Route::middleware('web')
            ->group(function () {
                Route::group(['middleware' => 'auth:site'], function() {

                });

                PageRoutes::web();
                CountryRoutes::web();
                MustDoRoutes::web();
                ToDoRoutes::web();
                JourneyRoutes::web();
                OvernightRoutes::web();
                ArticleRoutes::web();
                SitemapRoutes::web();
        });

        Route::middleware(['web', 'kms'])
            ->prefix('kms')
            ->group(function () {
                Route::group(['middleware' => 'auth:kms'], function() {
                    WebsiteConfigRoutes::kms();
                    PageRoutes::kms();
                    CountryRoutes::kms();
                    HotelRoutes::kms();
                    InstagramHighlightRoutes::kms();
                    MustDoRoutes::kms();
                    ToDoRoutes::kms();
                    JourneyRoutes::kms();
                    OvernightRoutes::kms();
                    ArticleRoutes::kms();
                    SidebarRoutes::kms();
                });
        });
    }

    /**
     * Define the "api" routes for the application.
     *
     * These routes are typically stateless.
     *
     * @return void
     */
    protected function mapApiRoutes()
    {
        Route::group([
            'middleware' => 'api',
            'namespace' => 'App\Komma',
            'prefix' => 'api',
        ], function ($router) {
//            require_once base_path('routes/api.php');
        });
    }
}