Hello DTRadio Support Team,
I purchased DTRadio (CodeCanyon item #45657138) and have successfully deployed the Laravel admin panel and mobile applications. However, I'm encountering a critical deployment issue with the Flutter web version that your documentation does not adequately address.
Current Setup:
- Laravel admin panel successfully deployed at: radio.nuvisionmedia.org
- Mobile apps (iOS/Android) connecting to API successfully
- Flutter web build completed without errors
The Problem: Your documentation instructs us to upload Flutter web build files to the Laravel
folder. However, this creates an immediate conflict:
- When Flutter index.html is uploaded to /public, Laravel's routing intercepts all root domain requests and redirects to /admin login
- The Flutter web app never loads - users only see the admin login screen
- Deploying to a separate subdomain (radioweb.nuvisionmedia.org) creates CORS errors because the documentation assumes same-domain deployment
What We've Attempted:
- Uploading Flutter build to /public_html/radio/public/ (root domain) → Laravel routing conflicts
- Deploying to separate subdomain → CORS policy blocks API calls
- Modifying config/cors.php to include public/api/* paths → Still blocked
- Checking app/Http/Kernel.php for CORS middleware registration
Critical Questions That Need Immediate Answers:
- What is the correct deployment structure? Should the web app be at root domain, subdomain, or subdirectory?
- If same domain: How do we configure Laravel routes to serve Flutter index.html at root while keeping admin at /admin? Is there a .htaccess rule or route configuration we're missing?
- If subdomain: What specific CORS configuration is required? The standard Laravel CORS config is not working with the /public/api/* path structure your API uses.
- Is there an updated deployment guide? The current documentation appears outdated and doesn't address real-world deployment scenarios where the admin panel is already live.
Current Impact:
- Mobile apps work perfectly
- Admin panel works perfectly
- Web version completely non-functional due to deployment conflicts
We need specific, step-by-step instructions for deploying the Flutter web version in a production environment where the Laravel backend is already operational. The current documentation assumes a deployment scenario that creates immediate conflicts.
Please provide urgent assistance as we're blocked from launching the web version entirely.
System Details:
- Flutter version: 3.29.3
- Hostinger VPS hosting
- PHP 8.2.29
- Laravel backend functioning correctly
- API endpoints tested and working from mobile apps
Thank you for your immediate attention to this matter.
Best regards
if you provide anydesk so we will connect via anydesk and fix it your issue.
Regards,
Mr. Chirag