backend/routes.js
/**
     * Initializes routes to be handled by the single page frontend application
     */
Initializes routes to be handled by the single page frontend application
Initializes routes to be handled by the single page frontend application
initStaticRoutes() {
        var routes = [
            { method: 'GET',  path: '/',                                   config: { auth: false }, handler: ApplicationController.getIndexView },
            { method: 'GET',  path: '/login',                              config: { auth: false }, handler: ApplicationController.getIndexView },
        ];
        this.server.route(routes);
    }
initStaticRoutes ( ) { var routes = [ { method : 'GET' , path : '/' , config : { auth : false } , handler : ApplicationController . getIndexView } , { method : 'GET' , path : '/login' , config : { auth : false } , handler : ApplicationController . getIndexView } , ] ; this . server . route ( routes ) ; }
Initializes routes to be handled by the single page frontend application
Initializes routes to be handled by the single page frontend application
/** Application routes **/