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

namespace App\Providers;

use App\KommaApp\WeFact\WeFactRoutes;
use Illuminate\Support\Facades\Artisan;
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::group(['middleware' => ['web']], function ($router) {
            Route::group(['middleware' => ['auth']], function () {
                //Place route files here which contain routes which all only accept authenticated users
                require app_path('KommaApp/Kms/kmsRoutes.php');
                require app_path('KommaApp/Kms/kmsApiRoutes.php');
//                require app_path('KommaApp/Kms/Transfer/transferRoutes.php');
//                require app_path('KommaApp/Kms/ActionLog/actionlogRoutes.php');
                require app_path('KommaApp/Users/userRoutes.php');
                require app_path('KommaApp/Regions/regionRoutes.php');
                require app_path('KommaApp/EventSignUps/eventSignUpRoutes.php');

                require app_path('KommaApp/Images/imagesRoutes.php');
                require app_path('KommaApp/Sites/siteRoutes.php');
            });

            Route::group(['middleware' => ['auth:siteUser']], function () {
                require app_path('KommaApp/UserDashboard/userDashboardRoutes.php');
            });

            //Place unauthenticated route files here. and place route files here which
            //contain both authenticated (using auth middleware) or unauthenticated routes
            require base_path('routes/authenticationRoutes.php');
            require app_path('KommaApp/Documents/documentRoutes.php');
            require app_path('KommaApp/Sitemap/sitemapRoutes.php');
            require base_path('routes/oldRoutes.php');
            require app_path('KommaApp/Forms/formRoutes.php');
            require app_path('KommaApp/Pages/pageRoutes.php');
            require app_path('KommaApp/CompanyCategories/companyCategoryRoutes.php');
            require app_path('KommaApp/Companies/companyRoutes.php');
            require app_path('KommaApp/EventTypes/eventTypeRoutes.php');
            require app_path('KommaApp/CourseTypes/courseTypeRoutes.php');
            require app_path('KommaApp/UserGroups/userGroupRoutes.php');
            require app_path('KommaApp/Events/eventRoutes.php');
            require app_path('KommaApp/Courses/courseRoutes.php');
            require app_path('KommaApp/PastEvents/pastEventRoutes.php');
            require app_path('KommaApp/PartnerTypes/partnerTypeRoutes.php');
            require app_path('KommaApp/Partners/partnerRoutes.php');
            require app_path('KommaApp/NewsArticles/newsArticleRoutes.php');
            require app_path('KommaApp/Magazines/magazineRoutes.php');
            require app_path('KommaApp/MagazineArticles/magazineArticleRoutes.php');
            require app_path('KommaApp/Tags/tagRoutes.php');
            require app_path('KommaApp/Search/searchRoutes.php');
            require app_path('KommaApp/HTML5Upload/html5UploadRoutes.php');
            require app_path('KommaApp/Payments/paymentRoutes.php');
            require app_path('KommaApp/Products/productRoutes.php');
            require app_path('KommaApp/Questions/questionRoutes.php');

            // For dev
            WeFactRoutes::test();

        });
    }

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