import Path from 'path';


exports.register = function(server, options, next) {
  server.route({
    method: 'GET',
    path: '/assets/{param*}',
    handler: {
      directory: {
        path: [
          './compiled/',
          Path.join(server.settings.app.repo_root, 'node_modules/nhsuk-frontend/dist/assets/')
        ],
        listing: server.settings.app.debug
      }
    }
  });
  server.route({
    method: 'GET',
    path: '/static/{param*}',
    handler: {
    directory: {
      path: [
        Path.join(server.settings.app.repo_root, 'src/server/static/')
        ],
        listing: server.settings.app.debug
      }
    }
  });
  next();
};

exports.register.attributes = {
  name: 'StaticFilesConfig',
  version: '1.0.0',
  dependencies: 'inert'
};

@@ -464,24 +464,26 @@
 dler: %7B%0A    
+  
 directory: %7B
@@ -485,32 +485,34 @@
 ry: %7B%0A      
+  
 path: %5B%0A
         Path
@@ -491,32 +491,34 @@
         path: %5B%0A
+  
         Path.joi

indent fix