Hey folks. I am trying to work out my way aorund a tiny routing issue I have.
There are three major modules: API, CDN and Main. I want to map them as follows: main => / cdn => /cdn api => /api So anything that goes to /api/* is handled by the API part, for instance. But all that is called is the main route, and the other two just never get a chance. What would the proper connect setup be to use all three routes? Because I just can’t seem to get all three working at the same time… API parses the URL into an API call and sends back a JSON object. CDN is a static, caching, gzipping file server. Main is a dynamic content generating part. Kind regards, Ingwie -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/95BD1250-33C3-495E-8A86-DE033D454E32%40googlemail.com. For more options, visit https://groups.google.com/d/optout.
