
var Hoek = require('hoek');

exports.register = function (server, options, next) {

    server.route({
      method: 'GET',
      path: '/{param*}',
      handler: {
          directory: {
              path: 'client/dist'
          }
      }
    });
    next();
};


exports.register.attributes = {
    name: 'index'
};

@@ -170,16 +170,161 @@
         
+file: 'client/dist/index.html'%0A      %7D%0A    %7D);%0A%0A    server.route(%7B%0A      method: 'GET',%0A      path: '/assets/%7Bparam*%7D',%0A      handler: %7B%0A        
 director
@@ -324,28 +324,24 @@
 irectory: %7B%0A
-    
           pa
@@ -356,20 +356,25 @@
 ent/dist
+/assets
 '%0A
-  
         
@@ -389,17 +389,16 @@
 %7D%0A    %7D)
-;
 %0A    nex

Fix hapi ember routes