| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/client-portal-laravel/releases/20260626120707/routes/ |
Upload File : |
<?php
/**
* Web Routes
*
* This file is the main orchestrator for all web routes.
* Routes are organized into separate files by domain:
*
* - public.php : Public routes (home, share links, webhooks, signing, etc.)
* - portal.php : Client portal routes (authenticated client access)
* - shared.php : Shared routes (profile, notifications, search, filters)
* - admin/ : Admin routes (organized by feature)
* - dashboard.php
* - clients.php
* - projects.php
* - files.php
* - invoices.php
* - reports.php
* - analytics.php
* - workflows.php
* - documents.php
* - notifications.php
* - security.php
* - time-tracking.php
* - system.php
* - api-tools.php
* - collaboration.php
* - search.php
*/
use Illuminate\Support\Facades\Broadcast;
use Illuminate\Support\Facades\Route;
// Enable broadcasting auth routes for private/presence channels
Broadcast::routes(['middleware' => ['web', 'auth']]);
// Public routes (home, share links, webhooks, signing, reports)
require __DIR__.'/public.php';
// Admin routes - redirect to admin subdomain
// Actual admin routes are defined in admin-domain.php for admin.scopeforged.com
Route::get('/admin/{any?}', fn ($any = '') => redirect(admin_url($any ? "/{$any}" : '/')))->where('any', '.*');
// Portal routes (client-facing)
require __DIR__.'/portal.php';
// Shared routes (profile, notifications, search, filters)
require __DIR__.'/shared.php';
// Authentication routes
require __DIR__.'/auth.php';