lib/core/index.js
function configureExpress() {

	// create configuration routes
	moduleConfig.express.get( /^\/conf.*/, checkAuth, getPath, getMiddlewareWrapper( onGetConf ) );
	moduleConfig.express.post( /^\/conf.*/, storeRequestBody, checkAuth, getPath, getMiddlewareWrapper( onPostConf ) );
	moduleConfig.express.delete( /^\/conf.*/, checkAuth, getPath, getMiddlewareWrapper( onDeleteConf ) );

	// create auth management routes
	moduleConfig.express.post( "/auth", checkAuth, getMiddlewareWrapper( onPostAuth ) );
	moduleConfig.express.delete( "/auth", checkAuth, getMiddlewareWrapper( onDeleteAuth ) );

}
function configureExpress() {

	// create configuration routes
	moduleConfig.express.get( /^\/conf.*/, checkAuth, getPath, getMiddlewareWrapper( onGetConf ) );
	moduleConfig.express.post( /^\/conf.*/, storeRequestBody, checkAuth, getPath, getMiddlewareWrapper( onPostConf ) );
	moduleConfig.express.delete( /^\/conf.*/, checkAuth, getPath, getMiddlewareWrapper( onDeleteConf ) );

	// create auth management routes
	moduleConfig.express.post( "/auth", checkAuth, getMiddlewareWrapper( onPostAuth ) );
	moduleConfig.express.delete( "/auth", checkAuth, getMiddlewareWrapper( onDeleteAuth ) );

}
function configureExpress ( ) { // create configuration routes moduleConfig . express . get ( / ^\/conf.* / , checkAuth , getPath , getMiddlewareWrapper ( onGetConf ) ) ; moduleConfig . express . post ( / ^\/conf.* / , storeRequestBody , checkAuth , getPath , getMiddlewareWrapper ( onPostConf ) ) ; moduleConfig . express . delete ( / ^\/conf.* / , checkAuth , getPath , getMiddlewareWrapper ( onDeleteConf ) ) ; // create auth management routes moduleConfig . express . post ( "/auth" , checkAuth , getMiddlewareWrapper ( onPostAuth ) ) ; moduleConfig . express . delete ( "/auth" , checkAuth , getMiddlewareWrapper ( onDeleteAuth ) ) ; }
Configures the express instance.
Configures the express instance .