mirror of
https://github.com/YMFE/yapi.git
synced 2025-04-06 15:00:26 +08:00
feat: add favicon png
This commit is contained in:
parent
7d79be6deb
commit
27805e734f
@ -25,7 +25,7 @@ app.use(router.allowedMethods());
|
||||
websocket(app);
|
||||
|
||||
app.use(compress({
|
||||
threshold: 2048,
|
||||
threshold: 50480,
|
||||
flush: require('zlib').Z_SYNC_FLUSH
|
||||
}))
|
||||
|
||||
|
@ -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
|
||||
}));
|
||||
|
||||
|
@ -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
BIN
static/image/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
@ -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>
|
||||
|
2
ykit.js
2
ykit.js
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user