Skip to content

Commit

Permalink
feat: 修改项目图标 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
nashaofu authored Jul 6, 2023
1 parent 1567e6a commit 555d727
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/>
<title>Wol</title>
<link rel="manifest" href="./manifest.json" />
<link rel="icon" href="./favicon.svg" />
<link rel="icon" href="./favicon.ico" />
<meta
name="description"
content="Wol 是 wake on lan 的简写,是一个轻量、简洁的 Wol 管理服务,支持检测设备是否开机成功。"
Expand Down
Binary file added web/public/favicon.ico
Binary file not shown.
1 change: 0 additions & 1 deletion web/public/favicon.svg

This file was deleted.

Binary file added web/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion web/public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "Wol 是 wake on lan 的简写,是一个轻量、简洁的 Wol 管理服务,支持检测设备是否开机成功。",
"icons": [
{
"src": "favicon.svg",
"src": "logo.png",
"sizes": "any"
}
]
Expand Down
2 changes: 1 addition & 1 deletion web/workbox-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
module.exports = {
globDirectory: "dist/",
globPatterns: ["**/*.{js,svg,css,html,json}"],
globPatterns: ["**/*.{js,ico,css,html,png,json}"],
swDest: "dist/service-worker.js",
ignoreURLParametersMatching: [/^utm_/, /^fbclid$/],
globIgnores: ["service-worker.js"],
Expand Down

0 comments on commit 555d727

Please sign in to comment.