You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be very useful if there was an option per host for removing schema prefix (http://, https://), because when I want to use hostname from the config, like config('app.url'), it's very inconvenient to remove prefixes for each host.
Something like:
Why don't you use something like parse_url(config('app.url'), PHP_URL_HOST)? Of course we could add further options, but it seems like a solid solution to me to only pass the actual host.
If we went for your solution, I would implement it properly and offer
It would be very useful if there was an option per host for removing schema prefix (http://, https://), because when I want to use hostname from the config, like
config('app.url')
, it's very inconvenient to remove prefixes for each host.Something like:
@mpociot If you agree with the idea, I can implement and send PR
The text was updated successfully, but these errors were encountered: