I usually use the node-static module (
https://github.com/cloudhead/node-static) for serving static files; I've
had good success with it so far.
I usually put all the static files in a tree of folders underneath one
'public' folder, but I suppose you could call it 'assets' or whatever you
like.
Am Donnerstag, 12. September 2013 22:41:22 UTC+2 schrieb Tony M:
>
>
> On Thursday, September 12, 2013 5:29:11 AM UTC-7, greelgorke wrote:
>>
>> you are using node and it's http server. it is your responsibility to
>> parse the paths and deliver the right file.
>>
> OK thanks will look into it.
A simple express/node.js example serving Bootstrap
https://github.com/ajlopez/ExpressSamples/tree/master/MyBootstrap
On Thu, Sep 12, 2013 at 5:41 PM, Tony M wrote:
>
> On Thursday, September 12, 2013 5:29:11 AM UTC-7, greelgorke wrote:
>>
>> you are using node and it's http server. it is your
On Thursday, September 12, 2013 5:29:11 AM UTC-7, greelgorke wrote:
>
> you are using node and it's http server. it is your responsibility to
> parse the paths and deliver the right file.
>
OK thanks will look into it.
Trying to get a sense of the type of project that would benefit from
node.j
you are using node and it's http server. it is your responsibility to parse
the paths and deliver the right file.
you might have a look on expressjs framework, which is a web framework.
there also several module on npm for serving static files.
Am Donnerstag, 12. September 2013 03:43:53 UTC+2 s