jeudi 18 août 2016

Locate bower_components in laravel and using loadbalancer

I would like to know how can I call all my scripts file inside /public/bower_components in laravel? I'm having problem with the loading of all my scripts since we are also using a loadbalancer. Here's a sample of my code

URL: http://ift.tt/2b3nuOj <---- my project url where 10.0.2.3 is our loadbalancer/haproxy public IP and 'transaction' is the keyword use to reroute to our private server.

Now when I use this laravel script

 

I assumed that this will look for the angular.js file in the url

http://ift.tt/2b50FwY 

but upon checking my file its looking in this url

http://ift.tt/2b3nWfD 

as you can see the keyword 'transaction' is removed. Is there a way to fix this so that it will look for the file in the correct path with 'transaction' included in the url?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire