https://laravel.com/docs/5.6/routing#route-group-sub-domain-routing
You could just have the form point to a route in the subdomain group and route it to the same controller that you're using now.
I'm allowing large file uploads in my Laravel app, and am using Cloudflare. One of my customers told me today that they were unable to upload a 150 MB file and received a 413 Request Entity too Large error. I looked into this and it's actually coming from Cloudflare; they won't allow uploads greater than 100 MB unless you pay through the nose.
Cloudflare suggests that I create a subdomain that isn't tracked by them and upload through that.
My question: how would I do this in Laravel?
I'm using Spatie's Media Library and uploading to the site on which Laravel is installed; how do I use a subdomain within the app?
https://laravel.com/docs/5.6/routing#route-group-sub-domain-routing
You could just have the form point to a route in the subdomain group and route it to the same controller that you're using now.
Please or to participate in this conversation.