16 Feb
2017
16 Feb
'17
8:38 p.m.
On 02/16/2017 06:28 PM, Alex Mestiashvili wrote:
I have too wide regexp in the route and it matches my javascript which is loaded from the main template the following way.
<script type="text/javascript" src="<% request.uri_base %>/javascripts/imagesloaded.pkgd.min.js"></script>
Can I create a pass through route which would filter out all /javascript matching ? I mean to filter in the sense that javascript will be parsed by the browser and not by dancer. Or may be I can achieve that with before hooks ?
Thanks! The problem is solved. The javascript file was really missing, after restoring all is good again.