* Larry Leszczynski [2014-12-04 21:35]:
> On Thu, Dec 4, 2014, at 12:41 PM, Trevor Leffler wrote:
> > This is a typical use:
> >
> > > rel="stylesheet">
>
> Assuming you're using Template Toolkit, you should use the "url"
> filter, not the "html" filter:
>
>rel="stylesheet">
No.
First,
I think you need to figure out what the problem is before knowing
whether (and what) you need to tweak. You might try creating a simple,
minimal page and template with just a link and see if it's still
happening. Something like...
Test
src="/static/images/catalyst_logo.png">
On 4 December 2014 at 20:31, Larry Leszczynski wrote:
>
> On Thu, Dec 4, 2014, at 12:41 PM, Trevor Leffler wrote:
> > This is a typical use:
> >
> > rel="stylesheet">
>
> Assuming you're using Template Toolkit, you should use the "url" filter,
> not the "html" filter:
>
>rel="stylesheet"
On Thu, Dec 4, 2014, at 12:41 PM, Trevor Leffler wrote:
> This is a typical use:
>
> rel="stylesheet">
Assuming you're using Template Toolkit, you should use the "url" filter,
not the "html" filter:
Larry
___
List: Catalyst@lists.scsys.co.uk
L
Yes, it comes from my browser, but I don't think it's normal, because I
didn't see it before in my mojolicious application.
Anyway, I think, there is the way to tweak an environment of the dev
server. Am I right? ;-)
2014-12-05 1:41 GMT+06:00 Trevor Leffler :
> Hi,
>
> tl;dr - Use c.uri_for() eve
Hi,
tl;dr - Use c.uri_for() everything, including statics.
I can't say why your links are 0.0.0.0/image.png without looking at the
full source of your page. I think your browser is doing this, maybe
with some (bad) hints.
However... c.uri_for('/image.png') is the right way to do it. It wil
Hello to all,
I'm very beginner in Catalyst and now I've faced up with the problem: on my
dev sever (script/myapp_server.pl) I've got urls to static files like, for
example 0.0.0.0/image.png, instead of localhost:3000/image.png. (in
template it looks like
So, I can't load any static file in my dev