huh. not sure where this broke

This commit is contained in:
Rich Harris
2018-01-20 13:39:49 -05:00
parent bb8ff74f68
commit c15959710b

View File

@@ -38,7 +38,7 @@ module.exports = function() {
let dest = OUTPUT_DIR + pathname;
const type = res.headers.get('Content-Type');
if (type.startsWith('text/html;')) dest += '/index.html';
if (type.startsWith('text/html')) dest += '/index.html';
sander.writeFileSync(dest, body);