feat: add favicon png

This commit is contained in:
suxiaoxin 2017-08-23 21:05:13 +08:00
parent 7d79be6deb
commit 27805e734f
6 changed files with 5 additions and 3 deletions

View File

@ -25,7 +25,7 @@ app.use(router.allowedMethods());
websocket(app);
app.use(compress({
threshold: 2048,
threshold: 50480,
flush: require('zlib').Z_SYNC_FLUSH
}))

View File

@ -67,7 +67,7 @@ app.use(_router2.default.allowedMethods());
(0, _websocket2.default)(app);
app.use(compress({
threshold: 2048,
threshold: 50480,
flush: require('zlib').Z_SYNC_FLUSH
}));

View File

@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>YAPI-高效、易用、功能强大的api管理平台</title>
<link rel="icon" type="image/png" sizes="192x192" href="/image/favicon.png">
<link rel="stylesheet" href="http://127.0.0.1:4000/yapi/prd/index@dev.css">
</head>
<body>

BIN
static/image/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>YAPI-高效、易用、功能强大的api管理平台</title>
<link rel="icon" type="image/png" sizes="192x192" href="/image/favicon.png">
<script>
document.write('<script src="/prd/assets.js?v=' + Math.random() + '"><\/script>');
</script>

View File

@ -81,7 +81,7 @@ module.exports = {
"regenerator": true
}]);
defaultQuery.plugins.push('transform-decorators-legacy');
// defaultQuery.plugins.push(["import", { libraryName: "antd", style: "css" }])
defaultQuery.plugins.push(["import", { libraryName: "antd"}])
return defaultQuery;
}
}