import { Request , Response , NextFunction } from 'express' ; import path = require ( 'path' ) ; export default ( ) => ( req , res , next ) => { res . sendFile ( path . resolve ( '../angular/dist/index.html' ) ) ; } ;