Skip to content

Commit

Permalink
Merge pull request #363 from mojoaxel/patch-1
Browse files Browse the repository at this point in the history
added content-type to app-cache iframe
  • Loading branch information
NekR authored Apr 5, 2018
2 parents 5448d0b + b07a99c commit be4d744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app-cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export default class AppCache {
getPageTemplate(name, content) {
return `
<!doctype html>
<html manifest="${ name }.appcache">${ content || '' }</html>
<html manifest="${ name }.appcache"><meta charset="utf-8">${ content || '' }</html>
`.trim().replace(/^ */gm, '');
}

Expand All @@ -153,4 +153,4 @@ export default class AppCache {
disableInstall: this.disableInstall
};
}
}
}

0 comments on commit be4d744

Please sign in to comment.