<?php

\Route::group(
    [
        'middleware' => 'web', // Required for Laravel sessions to work.
    ],
    function (): void {
        /* Admin pages */

        \Route::any('admin/multisite/switch-mode', [
            'as' => 'admin-multisite-switch-mode',
            'uses' => 'MtcPharmacy\Multisite\Http\Controllers\Admin\MultisiteController@switch_mode',
        ]);

        /* Front-end pages */
    },
);
