[dancer-users] pass through route

Alex Mestiashvili alex at biotec.tu-dresden.de
Thu Feb 16 20:38:14 GMT 2017


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.


More information about the dancer-users mailing list