<?php

use Illuminate\Support\Facades\Route;

// web 도메인
Route::middleware('web')
    ->domain((string) config('app.web_domain'))
    ->group(base_path('routes/web.php'));

// admin 도메인
Route::middleware(['web', 'admin.ip'])
    ->domain((string) config('app.admin_domain'))
    ->group(base_path('routes/admin.php'));
