mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-15 20:34:44 +00:00
huh. not sure where this broke
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user