diff options
author | cel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519> | 2020-07-25 10:26:14 -0400 |
---|---|---|
committer | cel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519> | 2020-07-25 10:26:37 -0400 |
commit | 3328fa29d5ce8a742c494ec2b96fac4b22d02d4f (patch) | |
tree | ecbbf14e3731150efb351d1facd8e2a9928ea1a4 /lib | |
parent | 8c1e9a2f44c4ce1dffaaedff771d19c6e1b6bf55 (diff) | |
download | patchfoo-3328fa29d5ce8a742c494ec2b96fac4b22d02d4f.tar.gz patchfoo-3328fa29d5ce8a742c494ec2b96fac4b22d02d4f.zip |
Use old-style meta charset tag
Support more obsolete browsers
Diffstat (limited to 'lib')
-rw-r--r-- | lib/serve.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/serve.js b/lib/serve.js index d09082d..af57f4d 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -2458,7 +2458,7 @@ Serve.prototype.wrapPage = function (title, searchQ) { u.hyperwrap(function (content, cb) { var done = multicb({pluck: 1, spread: true}) done()(null, h('html', h('head', - h('meta', {charset: 'utf-8'}), + h('meta', {'http-equiv': 'Content-Type', content: 'text/html; charset=utf-8'}), h('title', title), h('meta', {name: 'viewport', content: 'width=device-width,initial-scale=1'}), h('link', {rel: 'icon', href: render.toUrl('/static/hermie.ico'), type: 'image/x-icon'}), |