diff --git a/lib/src/start.js b/lib/src/start.js index 63a8b83..33b4d1b 100644 --- a/lib/src/start.js +++ b/lib/src/start.js @@ -89,8 +89,7 @@ function getRequestType ({ pathname, fileType }, { proxyPrefix, pushstate }) { if (pathname.startsWith(proxyPrefix)) { return PROXY_TYPE } else if ( - isRoot({ pathname, pushstate, fileType }) || - fileType === 'text/html' + isRoot({ pathname, pushstate, fileType }) ) { return CONTENT_TYPE } else if (pathname === '/reload/reload.js') {