aaronlord / laroute

Generate Laravel route URLs from JavaScript.
MIT License
796 stars 138 forks source link

Add a "set_root_url" function #20

Closed kryten87 closed 3 years ago

kryten87 commented 9 years ago

I have a site which can be accessed via two different URLs: one inside our intranet and one via HTTPS through a proxy from the outside world. I needed a way to update the root URL dynamically, depending on where the request was coming from. This is a quick-and-dirty update to allow me to adjust the URL generated by your package.