[Seaside] How can I specify path to css and js libs?
Smalltalk at JGFoster.net
Sat Oct 11 00:08:42 UTC 2014
Can you provide a full URL (‘http://www.example.com/siteX/Lib/jQuery.js')?
The rule is that (for security reasons) you can’t reach any files outside your domain.
On Oct 10, 2014, at 12:12 PM, Mariano Martinez Peck <marianopeck at gmail.com> wrote:
> Hi guys,
> I am currently serving my css and js static files with nginx. But so far, all these were generated in the default root path. For example:
> <link rel="stylesheet" type="text/css" href="/TBSDevelopmentLibrary/css/bootstrap.css"/>
> Now...I would like to be able to set a different prefix path. For example, 'siteX', and then urls become:
> <link rel="stylesheet" type="text/css" href="/siteX/TBSDevelopmentLibrary/css/bootstrap.css"/>
> Why I want this? Because I want to be able to catch these into nginx locations and search the files in different places.
> Any idea how can I do this?
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside