cesargb / laravel-magiclink

Create link for authenticate in Laravel without password or get private content
MIT License
367 stars 43 forks source link

Ability to change the base url #107

Closed evokelektrique closed 5 months ago

evokelektrique commented 9 months ago

Feature request for changing the APP_URL while it's being generated with Laravel's built in url() helper at here MagicLink.php#L76C7-L76C7

I'll probably make a PR for it

evokelektrique commented 9 months ago

I've made a PR for it: https://github.com/cesargb/laravel-magiclink/pull/108

pvledoux commented 5 months ago

Hi! This one would be super useful since we are hosting behind a proxy, the origin domain is not the same than the exposed one. I managed to resolve the issue by extending the original model, but if it feels a bit clunky

cesargb commented 5 months ago

Hi!

I release a new version with this feature: v2.22.0

Thanks: @evokelektrique , @pvledoux