cesargb / laravel-magiclink

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

Ability to change the base url #107

Closed evokelektrique closed 6 months ago

evokelektrique commented 11 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 11 months ago

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

pvledoux commented 6 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 6 months ago

Hi!

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

Thanks: @evokelektrique , @pvledoux