mercredi 19 juillet 2017

Laravel linking assets files to root of domain but not subfolder that the site is in

I have a site that is http://ift.tt/2uJn1iB and I have various javascript and css files linked like this

<link rel="stylesheet" type="text/css" href=""/>
<link rel="stylesheet" type="text/css" href=""/>
<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>

But I keep getting a 404 not found error because its looking for the files in www.example.com/css for example.. Its not even looking in the assets folder

How can I fix this without having to change the path for every css and javascript file?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2vk1uKw
via IFTTT

Aucun commentaire:

Enregistrer un commentaire