SingularityUI/gulpfile.js
function(req, res, next) {
                if (req.headers.accept && req.headers.accept.startsWith('text/html')) {
                  req.url = '/index.html'; // eslint-disable-line no-param-reassign
                }
                next();
              }
function(req, res, next) {
                if (req.headers.accept && req.headers.accept.startsWith('text/html')) {
                  req.url = '/index.html'; // eslint-disable-line no-param-reassign
                }
                next();
              }
function ( req , res , next ) { if ( req . headers . accept && req . headers . accept . startsWith ( 'text/html' ) ) { req . url = '/index.html' ; // eslint-disable-line no-param-reassign } next ( ) ; }
Serve index.html for all unknown requests
Serve index . html for all unknown requests