backend/routes.js
/**
     * Initializes the directories to be freely served. These directories might contain files like photos or css...
     */
Initializes the directories to be freely served. These directories might contain files like photos or css
Initializes the directories to be freely served . These directories might contain files like photos or css
initDirectories() {
        var routes = [];
        routes.push(this.getDirectoryRouteConfig('/css/{path*}',      './public/css',     false));
        routes.push(this.getDirectoryRouteConfig('/js/{path*}',       './public/js',      false));
        routes.push(this.getDirectoryRouteConfig('/partials/{path*}', './public/partials', false));
        this.server.route(routes);
    }
initDirectories ( ) { var routes = [ ] ; routes . push ( this . getDirectoryRouteConfig ( '/css/{path*}' , './public/css' , false ) ) ; routes . push ( this . getDirectoryRouteConfig ( '/js/{path*}' , './public/js' , false ) ) ; routes . push ( this . getDirectoryRouteConfig ( '/partials/{path*}' , './public/partials' , false ) ) ; this . server . route ( routes ) ; }
Initializes the directories to be freely served.
Initializes the directories to be freely served .