app = express();
your_other_express_app = express();
// ...
app.use("/subfolder", your_other_express_app);

-- 
Diogo Resende


On Wednesday, August 21, 2013 at 21:41 , Jose Luis Rivas wrote:

> Hey guys,
> 
> I have site.com (http://site.com) which is running Express. Is there a way to 
> have
> site.com/subfolder (http://site.com/subfolder) as a different app? Has anyone 
> any experience on
> this? I'm trying to make the site.com (http://site.com) Express app don't 
> grow any bigger
> but keep it separated with a different stack.
> 
> -- 
> Jose Luis Rivas
> http://joseluisrivas.net/
> 
> -- 
> -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> 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 post to this group, send email to [email protected] 
> (mailto:[email protected])
> To unsubscribe from this group, send email to
> [email protected] 
> (mailto:[email protected])
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
> 
> --- 
> 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] 
> (mailto:[email protected]).
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 


-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to