Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Exposes the Express server express object, allowing you to call various Express API to customize the web server. This is typically used in the start.js file to setup custom routes, etc.

The profoundjs.server.express object is not exposed until the profoundjs.server.listen() API has been called.

Example

Serve static path
profoundjs.server.app.get('/angular', 
  profoundjs.server.app.use(profoundjs.server.express.static('../angular')));
  • No labels