'use strict';

const Joi = require('joi');

exports.main = {
  auth: {
    mode: 'try',
    strategy: 'session',
  },
  plugins: {
    'hapi-auth-cookie': {
      redirectTo: false,
    },
  },
  handler: function (request, reply) {
    reply.view('main', { title: 'Welcome to True Parrot' });
  },

};

'use strict';

const Joi = require('joi');

exports.main = {
  auth: {
    mode: 'try',
    strategy: 'session',
  },
  plugins: {
    'hapi-auth-cookie': {
      redirectTo: false,
    },
  },
  handler: function (request, reply) {
    reply.view('main', { title: 'Welcome to Twitter-Clone' });
  },

};

--- 
+++ 
@@ -13,7 +13,7 @@
     },
   },
   handler: function (request, reply) {
-    reply.view('main', { title: 'Welcome to Twitter-Clone' });
+    reply.view('main', { title: 'Welcome to True Parrot' });
   },
 
 };
Fix error in default page title
