提交 a56618ad 编写于 作者: B Benjamin Pasero

web - fix warnings

上级 89a11839
...@@ -66,11 +66,11 @@ const server = http.createServer((req, res) => { ...@@ -66,11 +66,11 @@ const server = http.createServer((req, res) => {
// manifest // manifest
res.writeHead(200, { 'Content-Type': 'application/json' }); res.writeHead(200, { 'Content-Type': 'application/json' });
return res.end(JSON.stringify({ return res.end(JSON.stringify({
"name": "Code Web - OSS", 'name': 'Code Web - OSS',
"short_name": "Code Web - OSS", 'short_name': 'Code Web - OSS',
"start_url": "/", 'start_url': '/',
"lang": "en-US", 'lang': 'en-US',
"display": "standalone" 'display': 'standalone'
})); }));
} }
if (/^\/static\//.test(pathname)) { if (/^\/static\//.test(pathname)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册