import Page from "./page" ; export default class HomePage extends Page { constructor ( defs , pageDef ) { super ( defs , pageDef ) ; this . x = "" ; } get getRouteOptions ( ) { return { ext : { onPostHandler : { method : ( request , h ) => { request . logger . log ( "onPostHandler Home" ) ; return h . continue ; } , } , } , } ; } get postRouteOptions ( ) { return { ext : { onPostHandler : { method : ( request , h ) => { request . server . log ( "onPostHandler Home" ) ; return h . continue ; } , } , } , } ; } } module . exports = HomePage ;